Update
This commit is contained in:
parent
67fa9bee6c
commit
63da34ab57
707
Cargo.lock
generated
Normal file
707
Cargo.lock
generated
Normal file
@ -0,0 +1,707 @@
|
||||
[root]
|
||||
name = "pnmixer-rs"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"alsa 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"alsa-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"error-chain 0.10.1-pre (git+https://github.com/hasufell/error-chain.git?branch=PR-from-error)",
|
||||
"ffi 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"flexi_logger 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk 0.5.3 (git+https://github.com/gtk-rs/gdk.git)",
|
||||
"gdk-pixbuf 0.1.3 (git+https://github.com/gtk-rs/gdk-pixbuf.git)",
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gdk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gio 0.1.3 (git+https://github.com/gtk-rs/gio.git)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gtk 0.1.3 (git+https://github.com/gtk-rs/gtk.git)",
|
||||
"gtk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libnotify 1.0.1 (git+https://github.com/hasufell/rust-libnotify.git?branch=git-deps)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"png 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"toml 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"which 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"xdg 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "adler32"
|
||||
version = "1.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "aho-corasick"
|
||||
version = "0.5.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alsa"
|
||||
version = "0.1.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"alsa-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "alsa-sys"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "atk-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "backtrace"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"backtrace-sys 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rustc-demangle 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "backtrace-sys"
|
||||
version = "0.1.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"gcc 0.3.51 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "0.8.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "0.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "byteorder"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "c_vec"
|
||||
version = "1.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "cairo-rs"
|
||||
version = "0.1.3"
|
||||
source = "git+https://github.com/gtk-rs/cairo#ef0c3315a57b5cd7134801779c111c6b7d84a410"
|
||||
dependencies = [
|
||||
"c_vec 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.3.4 (git+https://github.com/gtk-rs/cairo)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cairo-sys-rs"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/cairo#ef0c3315a57b5cd7134801779c111c6b7d84a410"
|
||||
dependencies = [
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "chrono"
|
||||
version = "0.2.25"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"num 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"time 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dbghelp-sys"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "deflate"
|
||||
version = "0.7.13"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"adler32 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "error-chain"
|
||||
version = "0.10.1-pre"
|
||||
source = "git+https://github.com/hasufell/error-chain.git?branch=PR-from-error#66bdc2296d00d170451334a1faccff431ed49669"
|
||||
dependencies = [
|
||||
"backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ffi"
|
||||
version = "0.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "flexi_logger"
|
||||
version = "0.5.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"chrono 0.2.25 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gcc"
|
||||
version = "0.3.51"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "gdk"
|
||||
version = "0.5.3"
|
||||
source = "git+https://github.com/gtk-rs/gdk.git#0bacf5e02881b5142c2049dfab015b1963361a46"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-rs 0.1.3 (git+https://github.com/gtk-rs/cairo)",
|
||||
"cairo-sys-rs 0.3.4 (git+https://github.com/gtk-rs/cairo)",
|
||||
"gdk-pixbuf 0.1.3 (git+https://github.com/gtk-rs/gdk-pixbuf.git)",
|
||||
"gdk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gio 0.1.3 (git+https://github.com/gtk-rs/gio.git)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango 0.1.3 (git+https://github.com/gtk-rs/pango)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdk-pixbuf"
|
||||
version = "0.1.3"
|
||||
source = "git+https://github.com/gtk-rs/gdk-pixbuf.git#1888102253747deda678d0ec99b7e4f018c8a6d0"
|
||||
dependencies = [
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdk-pixbuf-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdk-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.3.4 (git+https://github.com/gtk-rs/cairo)",
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gio-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gio"
|
||||
version = "0.1.3"
|
||||
source = "git+https://github.com/gtk-rs/gio.git#795aafa2a0ade0bdaec86f96f1bc85b0363f6793"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gio-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glib"
|
||||
version = "0.1.3"
|
||||
source = "git+https://github.com/gtk-rs/glib.git#aaad1963ea3b1b45c62a3f49a7a1ed0a7f3b12ab"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glib-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glob"
|
||||
version = "0.2.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "gobject-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gtk"
|
||||
version = "0.1.3"
|
||||
source = "git+https://github.com/gtk-rs/gtk.git#d2aa123e5d791affb681347e42b73cb383ab620b"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-rs 0.1.3 (git+https://github.com/gtk-rs/cairo)",
|
||||
"cairo-sys-rs 0.3.4 (git+https://github.com/gtk-rs/cairo)",
|
||||
"gdk 0.5.3 (git+https://github.com/gtk-rs/gdk.git)",
|
||||
"gdk-pixbuf 0.1.3 (git+https://github.com/gtk-rs/gdk-pixbuf.git)",
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gdk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gio 0.1.3 (git+https://github.com/gtk-rs/gio.git)",
|
||||
"gio-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gtk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango 0.1.3 (git+https://github.com/gtk-rs/pango)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gtk-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"atk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.3.4 (git+https://github.com/gtk-rs/cairo)",
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gdk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gio-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "inflate"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "kernel32-sys"
|
||||
version = "0.2.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "0.2.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "libnotify"
|
||||
version = "1.0.1"
|
||||
source = "git+https://github.com/hasufell/rust-libnotify.git?branch=git-deps#385cb3ba6deeae6598681bdaeaff37f2ba257e1f"
|
||||
dependencies = [
|
||||
"gdk-pixbuf 0.1.3 (git+https://github.com/gtk-rs/gdk-pixbuf.git)",
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libnotify-sys 1.0.0 (git+https://github.com/hasufell/rust-libnotify.git?branch=git-deps)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libnotify-sys"
|
||||
version = "1.0.0"
|
||||
source = "git+https://github.com/hasufell/rust-libnotify.git?branch=git-deps#385cb3ba6deeae6598681bdaeaff37f2ba257e1f"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.3.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "0.1.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num"
|
||||
version = "0.1.39"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-iter 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-integer"
|
||||
version = "0.1.34"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-iter"
|
||||
version = "0.1.33"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-traits"
|
||||
version = "0.1.39"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "pango"
|
||||
version = "0.1.3"
|
||||
source = "git+https://github.com/gtk-rs/pango#6ab128152a174a84cf32bfedffa337792d0ca9e4"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pango-sys"
|
||||
version = "0.3.4"
|
||||
source = "git+https://github.com/gtk-rs/sys#9354d21dfdb9174bfecafbd75cf2a7c0c8ba5759"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pkg-config"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "png"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"deflate 0.7.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"inflate 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"num-iter 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "0.3.15"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "redox_syscall"
|
||||
version = "0.1.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "0.1.80"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex-syntax"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "rustc-demangle"
|
||||
version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.10"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive_internals 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive_internals"
|
||||
version = "0.15.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "0.11.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "synom"
|
||||
version = "0.11.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thread-id"
|
||||
version = "2.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thread_local"
|
||||
version = "0.2.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "time"
|
||||
version = "0.1.38"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"redox_syscall 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "toml"
|
||||
version = "0.4.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"serde 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-xid"
|
||||
version = "0.0.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "utf8-ranges"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "which"
|
||||
version = "1.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.2.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "winapi-build"
|
||||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "xdg"
|
||||
version = "2.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[metadata]
|
||||
"checksum adler32 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ff33fe13a08dbce05bcefa2c68eea4844941437e33d6f808240b54d7157b9cd"
|
||||
"checksum aho-corasick 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ca972c2ea5f742bfce5687b9aef75506a764f61d37f8f649047846a9686ddb66"
|
||||
"checksum alsa 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "9eeaf5b80a3bec9f74e0ae379270483868d4dbd4ba6be31bd4a352a1f5120fb6"
|
||||
"checksum alsa-sys 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9013f855a808ab924a4c08b5c1ec9bd6b04fdb2295b4d570fb723e0ed2802a4f"
|
||||
"checksum atk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum backtrace 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "72f9b4182546f4b04ebc4ab7f84948953a118bd6021a1b6a6c909e3e94f6be76"
|
||||
"checksum backtrace-sys 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "3a0d842ea781ce92be2bf78a9b38883948542749640b8378b3b2f03d1fd9f1ff"
|
||||
"checksum bitflags 0.8.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1370e9fc2a6ae53aea8b7a5110edbd08836ed87c88736dfabccade1c2b44bff4"
|
||||
"checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
|
||||
"checksum byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff81738b726f5d099632ceaffe7fb65b90212e8dce59d518729e7e8634032d3d"
|
||||
"checksum c_vec 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6237ac5a4b1e81c213c24c6437964c61e646df910a914b4ab1487b46df20bd13"
|
||||
"checksum cairo-rs 0.1.3 (git+https://github.com/gtk-rs/cairo)" = "<none>"
|
||||
"checksum cairo-sys-rs 0.3.4 (git+https://github.com/gtk-rs/cairo)" = "<none>"
|
||||
"checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de"
|
||||
"checksum chrono 0.2.25 (registry+https://github.com/rust-lang/crates.io-index)" = "9213f7cd7c27e95c2b57c49f0e69b1ea65b27138da84a170133fd21b07659c00"
|
||||
"checksum dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "97590ba53bcb8ac28279161ca943a924d1fd4a8fb3fa63302591647c4fc5b850"
|
||||
"checksum deflate 0.7.13 (registry+https://github.com/rust-lang/crates.io-index)" = "2b8c519bdb6db661b4442cf161eace023f509ca664845fd79951fb62145820dd"
|
||||
"checksum error-chain 0.10.1-pre (git+https://github.com/hasufell/error-chain.git?branch=PR-from-error)" = "<none>"
|
||||
"checksum ffi 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "adcf808a1837153eaf7efe795ccc246b564801a7a20402619708eb5e124ee3be"
|
||||
"checksum flexi_logger 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "04d22e6979b41afe7b4da2a113c93156ab2b51d8482960c319faa3e1f5db3272"
|
||||
"checksum gcc 0.3.51 (registry+https://github.com/rust-lang/crates.io-index)" = "120d07f202dcc3f72859422563522b66fe6463a4c513df062874daad05f85f0a"
|
||||
"checksum gdk 0.5.3 (git+https://github.com/gtk-rs/gdk.git)" = "<none>"
|
||||
"checksum gdk-pixbuf 0.1.3 (git+https://github.com/gtk-rs/gdk-pixbuf.git)" = "<none>"
|
||||
"checksum gdk-pixbuf-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum gdk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum gio 0.1.3 (git+https://github.com/gtk-rs/gio.git)" = "<none>"
|
||||
"checksum gio-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum glib 0.1.3 (git+https://github.com/gtk-rs/glib.git)" = "<none>"
|
||||
"checksum glib-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
|
||||
"checksum gobject-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum gtk 0.1.3 (git+https://github.com/gtk-rs/gtk.git)" = "<none>"
|
||||
"checksum gtk-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum inflate 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d1238524675af3938a7c74980899535854b88ba07907bb1c944abe5b8fc437e5"
|
||||
"checksum kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
|
||||
"checksum lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3b37545ab726dd833ec6420aaba8231c5b320814b9029ad585555d2a03e94fbf"
|
||||
"checksum libc 0.2.26 (registry+https://github.com/rust-lang/crates.io-index)" = "30885bcb161cf67054244d10d4a7f4835ffd58773bc72e07d35fecf472295503"
|
||||
"checksum libnotify 1.0.1 (git+https://github.com/hasufell/rust-libnotify.git?branch=git-deps)" = "<none>"
|
||||
"checksum libnotify-sys 1.0.0 (git+https://github.com/hasufell/rust-libnotify.git?branch=git-deps)" = "<none>"
|
||||
"checksum log 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "880f77541efa6e5cc74e76910c9884d9859683118839d6a1dc3b11e63512565b"
|
||||
"checksum memchr 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20"
|
||||
"checksum num 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "2c3a3dc9f30bf824141521b30c908a859ab190b76e20435fcd89f35eb6583887"
|
||||
"checksum num-integer 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)" = "ef1a4bf6f9174aa5783a9b4cc892cacd11aebad6c69ad027a0b65c6ca5f8aa37"
|
||||
"checksum num-iter 0.1.33 (registry+https://github.com/rust-lang/crates.io-index)" = "f7d1891bd7b936f12349b7d1403761c8a0b85a18b148e9da4429d5d102c1a41e"
|
||||
"checksum num-traits 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "1708c0628602a98b52fad936cf3edb9a107af06e52e49fdf0707e884456a6af6"
|
||||
"checksum pango 0.1.3 (git+https://github.com/gtk-rs/pango)" = "<none>"
|
||||
"checksum pango-sys 0.3.4 (git+https://github.com/gtk-rs/sys)" = "<none>"
|
||||
"checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903"
|
||||
"checksum png 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f256476eee4447f55909d52d22a16cfa6e5e55e5cb77fa182c7fcc8c4456ee3c"
|
||||
"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
|
||||
"checksum redox_syscall 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "9df6a71a1e67be2104410736b2389fb8e383c1d7e9e792d629ff13c02867147a"
|
||||
"checksum regex 0.1.80 (registry+https://github.com/rust-lang/crates.io-index)" = "4fd4ace6a8cf7860714a2c2280d6c1f7e6a413486c13298bbc86fd3da019402f"
|
||||
"checksum regex-syntax 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "f9ec002c35e86791825ed294b50008eea9ddfc8def4420124fbc6b08db834957"
|
||||
"checksum rustc-demangle 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3058a43ada2c2d0b92b3ae38007a2d0fa5e9db971be260e0171408a4ff471c95"
|
||||
"checksum serde 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "433d7d9f8530d5a939ad5e0e72a6243d2e42a24804f70bf592c679363dcacb2f"
|
||||
"checksum serde_derive 1.0.10 (registry+https://github.com/rust-lang/crates.io-index)" = "7b707cf0d4cab852084f573058def08879bb467fda89d99052485e7d00edd624"
|
||||
"checksum serde_derive_internals 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)" = "37aee4e0da52d801acfbc0cc219eb1eda7142112339726e427926a6f6ee65d3a"
|
||||
"checksum syn 0.11.11 (registry+https://github.com/rust-lang/crates.io-index)" = "d3b891b9015c88c576343b9b3e41c2c11a51c219ef067b264bd9c8aa9b441dad"
|
||||
"checksum synom 0.11.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a393066ed9010ebaed60b9eafa373d4b1baac186dd7e008555b0f702b51945b6"
|
||||
"checksum thread-id 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a9539db560102d1cef46b8b78ce737ff0bb64e7e18d35b2a5688f7d097d0ff03"
|
||||
"checksum thread_local 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8576dbbfcaef9641452d5cf0df9b0e7eeab7694956dd33bb61515fb8f18cfdd5"
|
||||
"checksum time 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)" = "d5d788d3aa77bc0ef3e9621256885555368b47bd495c13dd2e7413c89f845520"
|
||||
"checksum toml 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b0601da6c97135c8d330c7a13a013ca6cd4143221b01de2f8d4edc50a9e551c7"
|
||||
"checksum unicode-xid 0.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f860d7d29cf02cb2f3f359fd35991af3d30bac52c57d265a3c461074cb4dc"
|
||||
"checksum utf8-ranges 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f"
|
||||
"checksum which 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d238435618c0f298d2d75596c2d4fa7d4ea469c0c1c3ff824737ed50ad5ab61c"
|
||||
"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
|
||||
"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
|
||||
"checksum xdg 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a66b7c2281ebde13cf4391d70d4c7e5946c3c25e72a7b859ca8f677dcd0b0c61"
|
@ -29,7 +29,7 @@
|
||||
|
||||
<nav class="sidebar">
|
||||
|
||||
<p class='location'>Crate bitflags</p><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'bitflags', ty: 'mod', relpath: '../'};</script>
|
||||
<p class='location'>Crate bitflags</p><div class="block items"><ul><li><a href="#macros">Macros</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'bitflags', ty: 'mod', relpath: '../'};</script>
|
||||
</nav>
|
||||
|
||||
<nav class="sub">
|
||||
@ -48,222 +48,24 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/bitflags/lib.rs.html#11-990' title='goto source code'>[src]</a></span></h1>
|
||||
<div class='docblock'><p>A typesafe bitmask flag generator useful for sets of C-style bitmask flags.
|
||||
It can be used for creating typesafe wrappers around C APIs.</p>
|
||||
|
||||
<p>The <code>bitflags!</code> macro generates a <code>struct</code> that manages a set of flags. The
|
||||
flags should only be defined for integer types, otherwise unexpected type
|
||||
errors may occur at compile time.</p>
|
||||
|
||||
<h1 id='example' class='section-header'><a href='#example'>Example</a></h1>
|
||||
<pre class="rust rust-example-rendered">
|
||||
<span class="attribute">#[<span class="ident">macro_use</span>]</span>
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">struct</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_C</span> <span class="op">=</span> <span class="number">0b00000100</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_ABC</span> <span class="op">=</span> <span class="ident">FLAG_A</span>.<span class="ident">bits</span>
|
||||
<span class="op">|</span> <span class="ident">FLAG_B</span>.<span class="ident">bits</span>
|
||||
<span class="op">|</span> <span class="ident">FLAG_C</span>.<span class="ident">bits</span>;
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||
<span class="kw">let</span> <span class="ident">e1</span> <span class="op">=</span> <span class="ident">FLAG_A</span> <span class="op">|</span> <span class="ident">FLAG_C</span>;
|
||||
<span class="kw">let</span> <span class="ident">e2</span> <span class="op">=</span> <span class="ident">FLAG_B</span> <span class="op">|</span> <span class="ident">FLAG_C</span>;
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="ident">e1</span> <span class="op">|</span> <span class="ident">e2</span>), <span class="ident">FLAG_ABC</span>); <span class="comment">// union</span>
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="ident">e1</span> <span class="op">&</span> <span class="ident">e2</span>), <span class="ident">FLAG_C</span>); <span class="comment">// intersection</span>
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>((<span class="ident">e1</span> <span class="op">-</span> <span class="ident">e2</span>), <span class="ident">FLAG_A</span>); <span class="comment">// set difference</span>
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="op">!</span><span class="ident">e2</span>, <span class="ident">FLAG_A</span>); <span class="comment">// set complement</span>
|
||||
}</pre>
|
||||
|
||||
<p>See <a href="./example_generated/struct.Flags.html"><code>example_generated::Flags</code></a> for documentation of code
|
||||
generated by the above <code>bitflags!</code> expansion.</p>
|
||||
|
||||
<p>The generated <code>struct</code>s can also be extended with type and trait
|
||||
implementations:</p>
|
||||
|
||||
<pre class="rust rust-example-rendered">
|
||||
<span class="attribute">#[<span class="ident">macro_use</span>]</span>
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">fmt</span>;
|
||||
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">struct</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">impl</span> <span class="ident">Flags</span> {
|
||||
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">clear</span>(<span class="kw-2">&</span><span class="kw-2">mut</span> <span class="self">self</span>) {
|
||||
<span class="self">self</span>.<span class="ident">bits</span> <span class="op">=</span> <span class="number">0</span>; <span class="comment">// The `bits` field can be accessed from within the</span>
|
||||
<span class="comment">// same module where the `bitflags!` macro was invoked.</span>
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">impl</span> <span class="ident">fmt</span>::<span class="ident">Display</span> <span class="kw">for</span> <span class="ident">Flags</span> {
|
||||
<span class="kw">fn</span> <span class="ident">fmt</span>(<span class="kw-2">&</span><span class="self">self</span>, <span class="ident">f</span>: <span class="kw-2">&</span><span class="kw-2">mut</span> <span class="ident">fmt</span>::<span class="ident">Formatter</span>) <span class="op">-></span> <span class="ident">fmt</span>::<span class="prelude-ty">Result</span> {
|
||||
<span class="macro">write</span><span class="macro">!</span>(<span class="ident">f</span>, <span class="string">"hi!"</span>)
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">flags</span> <span class="op">=</span> <span class="ident">FLAG_A</span> <span class="op">|</span> <span class="ident">FLAG_B</span>;
|
||||
<span class="ident">flags</span>.<span class="ident">clear</span>();
|
||||
<span class="macro">assert</span><span class="macro">!</span>(<span class="ident">flags</span>.<span class="ident">is_empty</span>());
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="macro">format</span><span class="macro">!</span>(<span class="string">"{}"</span>, <span class="ident">flags</span>), <span class="string">"hi!"</span>);
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="macro">format</span><span class="macro">!</span>(<span class="string">"{:?}"</span>, <span class="ident">FLAG_A</span> <span class="op">|</span> <span class="ident">FLAG_B</span>), <span class="string">"FLAG_A | FLAG_B"</span>);
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="macro">format</span><span class="macro">!</span>(<span class="string">"{:?}"</span>, <span class="ident">FLAG_B</span>), <span class="string">"FLAG_B"</span>);
|
||||
}</pre>
|
||||
|
||||
<h1 id='visibility' class='section-header'><a href='#visibility'>Visibility</a></h1>
|
||||
<p>The generated struct and its associated flag constants are not exported
|
||||
out of the current module by default. A definition can be exported out of
|
||||
the current module by adding <code>pub</code> before <code>flags</code>:</p>
|
||||
|
||||
<pre class="rust rust-example-rendered">
|
||||
<span class="attribute">#[<span class="ident">macro_use</span>]</span>
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="kw">mod</span> <span class="ident">example</span> {
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">Flags1</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
}
|
||||
}
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">struct</span> <span class="ident">Flags2</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||
<span class="kw">let</span> <span class="ident">flag1</span> <span class="op">=</span> <span class="ident">example</span>::<span class="ident">FLAG_A</span>;
|
||||
<span class="kw">let</span> <span class="ident">flag2</span> <span class="op">=</span> <span class="ident">example</span>::<span class="ident">FLAG_B</span>; <span class="comment">// error: const `FLAG_B` is private</span>
|
||||
}</pre>
|
||||
|
||||
<h1 id='attributes' class='section-header'><a href='#attributes'>Attributes</a></h1>
|
||||
<p>Attributes can be attached to the generated <code>struct</code> by placing them
|
||||
before the <code>flags</code> keyword.</p>
|
||||
|
||||
<h1 id='trait-implementations' class='section-header'><a href='#trait-implementations'>Trait implementations</a></h1>
|
||||
<p>The <code>Copy</code>, <code>Clone</code>, <code>PartialEq</code>, <code>Eq</code>, <code>PartialOrd</code>, <code>Ord</code> and <code>Hash</code>
|
||||
traits automatically derived for the <code>struct</code> using the <code>derive</code> attribute.
|
||||
Additional traits can be derived by providing an explicit <code>derive</code>
|
||||
attribute on <code>flags</code>.</p>
|
||||
|
||||
<p>The <code>Extend</code> and <code>FromIterator</code> traits are implemented for the <code>struct</code>,
|
||||
too: <code>Extend</code> adds the union of the instances of the <code>struct</code> iterated over,
|
||||
while <code>FromIterator</code> calculates the union.</p>
|
||||
|
||||
<p>The <code>Binary</code>, <code>Debug</code>, <code>LowerExp</code>, <code>Octal</code> and <code>UpperExp</code> trait is also
|
||||
implemented by displaying the bits value of the internal struct.</p>
|
||||
|
||||
<h2 id='operators' class='section-header'><a href='#operators'>Operators</a></h2>
|
||||
<p>The following operator traits are implemented for the generated <code>struct</code>:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>BitOr</code> and <code>BitOrAssign</code>: union</li>
|
||||
<li><code>BitAnd</code> and <code>BitAndAssign</code>: intersection</li>
|
||||
<li><code>BitXor</code> and <code>BitXorAssign</code>: toggle</li>
|
||||
<li><code>Sub</code> and <code>SubAssign</code>: set difference</li>
|
||||
<li><code>Not</code>: set complement</li>
|
||||
</ul>
|
||||
|
||||
<h1 id='methods-1' class='section-header'><a href='#methods-1'>Methods</a></h1>
|
||||
<p>The following methods are defined for the generated <code>struct</code>:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>empty</code>: an empty set of flags</li>
|
||||
<li><code>all</code>: the set of all flags</li>
|
||||
<li><code>bits</code>: the raw value of the flags currently stored</li>
|
||||
<li><code>from_bits</code>: convert from underlying bit representation, unless that
|
||||
representation contains bits that do not correspond to a flag</li>
|
||||
<li><code>from_bits_truncate</code>: convert from underlying bit representation, dropping
|
||||
any bits that do not correspond to flags</li>
|
||||
<li><code>is_empty</code>: <code>true</code> if no flags are currently stored</li>
|
||||
<li><code>is_all</code>: <code>true</code> if all flags are currently set</li>
|
||||
<li><code>intersects</code>: <code>true</code> if there are flags common to both <code>self</code> and <code>other</code></li>
|
||||
<li><code>contains</code>: <code>true</code> all of the flags in <code>other</code> are contained within <code>self</code></li>
|
||||
<li><code>insert</code>: inserts the specified flags in-place</li>
|
||||
<li><code>remove</code>: removes the specified flags in-place</li>
|
||||
<li><code>toggle</code>: the specified flags will be inserted if not present, and removed
|
||||
if they are.</li>
|
||||
</ul>
|
||||
|
||||
<h2 id='default' class='section-header'><a href='#default'>Default</a></h2>
|
||||
<p>The <code>Default</code> trait is not automatically implemented for the generated struct.</p>
|
||||
|
||||
<p>If your default value is equal to <code>0</code> (which is the same value as calling <code>empty()</code>
|
||||
on the generated struct), you can simply derive <code>Default</code>:</p>
|
||||
|
||||
<pre class="rust rust-example-rendered">
|
||||
<span class="attribute">#[<span class="ident">macro_use</span>]</span>
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="comment">// Results in default value with bits: 0</span>
|
||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Default</span>)]</span>
|
||||
<span class="kw">struct</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_C</span> <span class="op">=</span> <span class="number">0b00000100</span>;
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||
<span class="kw">let</span> <span class="ident">derived_default</span>: <span class="ident">Flags</span> <span class="op">=</span> <span class="ident">Default</span>::<span class="ident">default</span>();
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">derived_default</span>.<span class="ident">bits</span>(), <span class="number">0</span>);
|
||||
}</pre>
|
||||
|
||||
<p>If your default value is not equal to <code>0</code> you need to implement <code>Default</code> yourself:</p>
|
||||
|
||||
<pre class="rust rust-example-rendered">
|
||||
<span class="attribute">#[<span class="ident">macro_use</span>]</span>
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">struct</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_C</span> <span class="op">=</span> <span class="number">0b00000100</span>;
|
||||
}
|
||||
}
|
||||
|
||||
<span class="comment">// explicit `Default` implementation</span>
|
||||
<span class="kw">impl</span> <span class="ident">Default</span> <span class="kw">for</span> <span class="ident">Flags</span> {
|
||||
<span class="kw">fn</span> <span class="ident">default</span>() <span class="op">-></span> <span class="ident">Flags</span> {
|
||||
<span class="ident">FLAG_A</span> <span class="op">|</span> <span class="ident">FLAG_C</span>
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||
<span class="kw">let</span> <span class="ident">implemented_default</span>: <span class="ident">Flags</span> <span class="op">=</span> <span class="ident">Default</span>::<span class="ident">default</span>();
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">implemented_default</span>, (<span class="ident">FLAG_A</span> <span class="op">|</span> <span class="ident">FLAG_C</span>));
|
||||
}</pre>
|
||||
</div><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
|
||||
<table>
|
||||
<tr class=' module-item'>
|
||||
<td><a class="mod" href="example_generated/index.html"
|
||||
title='mod bitflags::example_generated'>example_generated</a></td>
|
||||
<td class='docblock-short'>
|
||||
<p>This module shows an example of code generated by the macro. <strong>IT MUST NOT BE USED OUTSIDE THIS
|
||||
CRATE</strong>.</p>
|
||||
</td>
|
||||
</tr></table><h2 id='macros' class='section-header'><a href="#macros">Macros</a></h2>
|
||||
</span><a class='srclink' href='../src/bitflags/lib.rs.html#11-840' title='goto source code'>[src]</a></span></h1>
|
||||
<div class='docblock'><p>A typesafe bitmask flag generator.</p>
|
||||
</div><h2 id='macros' class='section-header'><a href="#macros">Macros</a></h2>
|
||||
<table>
|
||||
<tr class=' module-item'>
|
||||
<td><a class="macro" href="macro.bitflags.html"
|
||||
title='macro bitflags::bitflags'>bitflags</a></td>
|
||||
<td class='docblock-short'>
|
||||
<p>The macro used to generate the flag structure.</p>
|
||||
<p>The <code>bitflags!</code> macro generates a <code>struct</code> that holds a set of C-style
|
||||
bitmask flags. It is useful for creating typesafe wrappers for C APIs.</p>
|
||||
</td>
|
||||
</tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
|
||||
<table>
|
||||
<tr class=' module-item'>
|
||||
<td><a class="type" href="type.__BitFlagsWidth.html"
|
||||
title='type bitflags::__BitFlagsWidth'>__BitFlagsWidth</a></td>
|
||||
<td class='docblock-short'>
|
||||
|
||||
</td>
|
||||
</tr></table></section>
|
||||
<section id='search' class="content hidden"></section>
|
||||
|
@ -48,19 +48,30 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/bitflags/lib.rs.html#306-342' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/bitflags/lib.rs.html#190-519' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class="rust macro">
|
||||
<span class="macro">macro_rules</span><span class="macro">!</span> <span class="ident">bitflags</span> {
|
||||
($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">pub</span> <span class="kw">struct</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>;)<span class="op">+</span>
|
||||
($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">pub</span> <span class="ident">flags</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>),<span class="op">+</span>
|
||||
}) <span class="op">=></span> { ... };
|
||||
($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">struct</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>;)<span class="op">+</span>
|
||||
($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="ident">flags</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>),<span class="op">+</span>
|
||||
}) <span class="op">=></span> { ... };
|
||||
(@<span class="ident">_impl</span> <span class="ident">flags</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>),<span class="op">+</span>
|
||||
}) <span class="op">=></span> { ... };
|
||||
($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">pub</span> <span class="ident">flags</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>),<span class="op">+</span>,
|
||||
}) <span class="op">=></span> { ... };
|
||||
($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="ident">flags</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">BitFlags</span>:<span class="ident">ident</span>: <span class="macro-nonterminal">$</span><span class="macro-nonterminal">T</span>:<span class="ident">ty</span> {
|
||||
$($(<span class="attribute">#[<span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag_attr</span>:<span class="ident">meta</span>]</span>)<span class="op">*</span> <span class="kw">const</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">Flag</span>:<span class="ident">ident</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">value</span>:<span class="ident">expr</span>),<span class="op">+</span>,
|
||||
}) <span class="op">=></span> { ... };
|
||||
}</pre>
|
||||
<div class='docblock'><p>The macro used to generate the flag structure.</p>
|
||||
<div class='docblock'><p>The <code>bitflags!</code> macro generates a <code>struct</code> that holds a set of C-style
|
||||
bitmask flags. It is useful for creating typesafe wrappers for C APIs.</p>
|
||||
|
||||
<p>See the <a href="../bitflags/index.html">crate level docs</a> for complete documentation.</p>
|
||||
<p>The flags should only be defined for integer types, otherwise unexpected
|
||||
type errors may occur at compile time.</p>
|
||||
|
||||
<h1 id='example' class='section-header'><a href='#example'>Example</a></h1>
|
||||
<pre class="rust rust-example-rendered">
|
||||
@ -68,13 +79,13 @@
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">struct</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_C</span> <span class="op">=</span> <span class="number">0b00000100</span>;
|
||||
<span class="ident">flags</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>,
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>,
|
||||
<span class="kw">const</span> <span class="ident">FLAG_C</span> <span class="op">=</span> <span class="number">0b00000100</span>,
|
||||
<span class="kw">const</span> <span class="ident">FLAG_ABC</span> <span class="op">=</span> <span class="ident">FLAG_A</span>.<span class="ident">bits</span>
|
||||
<span class="op">|</span> <span class="ident">FLAG_B</span>.<span class="ident">bits</span>
|
||||
<span class="op">|</span> <span class="ident">FLAG_C</span>.<span class="ident">bits</span>;
|
||||
<span class="op">|</span> <span class="ident">FLAG_C</span>.<span class="ident">bits</span>,
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,9 +108,9 @@ implementations:</p>
|
||||
<span class="kw">use</span> <span class="ident">std</span>::<span class="ident">fmt</span>;
|
||||
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">struct</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>;
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>;
|
||||
<span class="ident">flags</span> <span class="ident">Flags</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>,
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>,
|
||||
}
|
||||
}
|
||||
|
||||
@ -124,6 +135,85 @@ implementations:</p>
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="macro">format</span><span class="macro">!</span>(<span class="string">"{:?}"</span>, <span class="ident">FLAG_A</span> <span class="op">|</span> <span class="ident">FLAG_B</span>), <span class="string">"FLAG_A | FLAG_B"</span>);
|
||||
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="macro">format</span><span class="macro">!</span>(<span class="string">"{:?}"</span>, <span class="ident">FLAG_B</span>), <span class="string">"FLAG_B"</span>);
|
||||
}</pre>
|
||||
|
||||
<h1 id='visibility' class='section-header'><a href='#visibility'>Visibility</a></h1>
|
||||
<p>The generated struct and its associated flag constants are not exported
|
||||
out of the current module by default. A definition can be exported out of
|
||||
the current module by adding <code>pub</code> before <code>flags</code>:</p>
|
||||
|
||||
<pre class="rust rust-example-rendered">
|
||||
<span class="attribute">#[<span class="ident">macro_use</span>]</span>
|
||||
<span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bitflags</span>;
|
||||
|
||||
<span class="kw">mod</span> <span class="ident">example</span> {
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="kw">pub</span> <span class="ident">flags</span> <span class="ident">Flags1</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_A</span> <span class="op">=</span> <span class="number">0b00000001</span>,
|
||||
}
|
||||
}
|
||||
<span class="macro">bitflags</span><span class="macro">!</span> {
|
||||
<span class="ident">flags</span> <span class="ident">Flags2</span>: <span class="ident">u32</span> {
|
||||
<span class="kw">const</span> <span class="ident">FLAG_B</span> <span class="op">=</span> <span class="number">0b00000010</span>,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">main</span>() {
|
||||
<span class="kw">let</span> <span class="ident">flag1</span> <span class="op">=</span> <span class="ident">example</span>::<span class="ident">FLAG_A</span>;
|
||||
<span class="kw">let</span> <span class="ident">flag2</span> <span class="op">=</span> <span class="ident">example</span>::<span class="ident">FLAG_B</span>; <span class="comment">// error: const `FLAG_B` is private</span>
|
||||
}</pre>
|
||||
|
||||
<h1 id='attributes' class='section-header'><a href='#attributes'>Attributes</a></h1>
|
||||
<p>Attributes can be attached to the generated <code>struct</code> by placing them
|
||||
before the <code>flags</code> keyword.</p>
|
||||
|
||||
<h1 id='trait-implementations' class='section-header'><a href='#trait-implementations'>Trait implementations</a></h1>
|
||||
<p>The <code>Copy</code>, <code>Clone</code>, <code>PartialEq</code>, <code>Eq</code>, <code>PartialOrd</code>, <code>Ord</code> and <code>Hash</code>
|
||||
traits automatically derived for the <code>struct</code> using the <code>derive</code> attribute.
|
||||
Additional traits can be derived by providing an explicit <code>derive</code>
|
||||
attribute on <code>flags</code>.</p>
|
||||
|
||||
<p>The <code>Extend</code> and <code>FromIterator</code> traits are implemented for the <code>struct</code>,
|
||||
too: <code>Extend</code> adds the union of the instances of the <code>struct</code> iterated over,
|
||||
while <code>FromIterator</code> calculates the union.</p>
|
||||
|
||||
<p>The <code>Debug</code> trait is also implemented by displaying the bits value of the
|
||||
internal struct.</p>
|
||||
|
||||
<h2 id='operators' class='section-header'><a href='#operators'>Operators</a></h2>
|
||||
<p>The following operator traits are implemented for the generated <code>struct</code>:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>BitOr</code> and <code>BitOrAssign</code>: union</li>
|
||||
<li><code>BitAnd</code> and <code>BitAndAssign</code>: intersection</li>
|
||||
<li><code>BitXor</code> and <code>BitXorAssign</code>: toggle</li>
|
||||
<li><code>Sub</code> and <code>SubAssign</code>: set difference</li>
|
||||
<li><code>Not</code>: set complement</li>
|
||||
</ul>
|
||||
|
||||
<p>As long as the assignment operators are unstable rust feature they are only
|
||||
available with the crate feature <code>assignment_ops</code> enabled.</p>
|
||||
|
||||
<h1 id='methods-1' class='section-header'><a href='#methods-1'>Methods</a></h1>
|
||||
<p>The following methods are defined for the generated <code>struct</code>:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>empty</code>: an empty set of flags</li>
|
||||
<li><code>all</code>: the set of all flags</li>
|
||||
<li><code>bits</code>: the raw value of the flags currently stored</li>
|
||||
<li><code>from_bits</code>: convert from underlying bit representation, unless that
|
||||
representation contains bits that do not correspond to a flag</li>
|
||||
<li><code>from_bits_truncate</code>: convert from underlying bit representation, dropping
|
||||
any bits that do not correspond to flags</li>
|
||||
<li><code>is_empty</code>: <code>true</code> if no flags are currently stored</li>
|
||||
<li><code>is_all</code>: <code>true</code> if all flags are currently set</li>
|
||||
<li><code>intersects</code>: <code>true</code> if there are flags common to both <code>self</code> and <code>other</code></li>
|
||||
<li><code>contains</code>: <code>true</code> all of the flags in <code>other</code> are contained within <code>self</code></li>
|
||||
<li><code>insert</code>: inserts the specified flags in-place</li>
|
||||
<li><code>remove</code>: removes the specified flags in-place</li>
|
||||
<li><code>toggle</code>: the specified flags will be inserted if not present, and removed
|
||||
if they are.</li>
|
||||
</ul>
|
||||
</div></section>
|
||||
<section id='search' class="content hidden"></section>
|
||||
|
||||
|
@ -1 +1 @@
|
||||
initSidebarItems({"macro":[["bitflags","The macro used to generate the flag structure."]],"mod":[["example_generated","This module shows an example of code generated by the macro. IT MUST NOT BE USED OUTSIDE THIS CRATE."]]});
|
||||
initSidebarItems({"macro":[["bitflags","The `bitflags!` macro generates a `struct` that holds a set of C-style bitmask flags. It is useful for creating typesafe wrappers for C APIs."]],"type":[["__BitFlagsWidth",""]]});
|
@ -134,11 +134,11 @@ library implementation is limited to non-negative values.</p>
|
||||
<div class='docblock'><p>The resulting type after applying the <code>+</code> operator</p>
|
||||
</div><h4 id='method.add' class="method"><span id='add.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, rhs: <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>) -> <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span></h4>
|
||||
<div class='docblock'><p>The method for the <code>+</code> operator</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/time/duration.rs.html#343-361' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/time/duration.rs.html#343-361' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Output-2' class="type"><span id='Output.t-2' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span></h4>
|
||||
<h4 id='method.div' class="method"><span id='div.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>> for <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>> for <a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, __arg_0: &<a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
<div class='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
|
||||
</div><h4 id='method.lt' class="method"><span id='lt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&self, __arg_0: &<a class="struct" href="../../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
|
@ -134,11 +134,11 @@ library implementation is limited to non-negative values.</p>
|
||||
<div class='docblock'><p>The resulting type after applying the <code>+</code> operator</p>
|
||||
</div><h4 id='method.add' class="method"><span id='add.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Add.html#tymethod.add' class='fnname'>add</a>(self, rhs: <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>) -> <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span></h4>
|
||||
<div class='docblock'><p>The method for the <code>+</code> operator</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/time/duration.rs.html#343-361' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>> for <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/time/duration.rs.html#343-361' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Output-2' class="type"><span id='Output.t-2' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#associatedtype.Output' class="type">Output</a> = <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span></h4>
|
||||
<h4 id='method.div' class="method"><span id='div.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/arith/trait.Div.html#tymethod.div' class='fnname'>div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>> for <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>> for <a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/time/duration.rs.html#44' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, __arg_0: &<a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
<div class='docblock'><p>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></p>
|
||||
</div><h4 id='method.lt' class="method"><span id='lt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#method.lt' class='fnname'>lt</a>(&self, __arg_0: &<a class="struct" href="../chrono/duration/struct.Duration.html" title="struct chrono::duration::Duration">Duration</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
|
@ -89,25 +89,25 @@
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#266' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><__H>(&self, __arg_0: &mut __H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#266' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#370-374' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#318-323' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#311-316' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp-1' class="method"><span id='partial_cmp.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#370-374' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&self, fmt: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#311-316' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#318-323' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp-1' class="method"><span id='partial_cmp.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#325-330' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#358-368' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#358-368' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Err' class="type"><span id='Err.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err' class="type">Err</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a></code></span></h4>
|
||||
<h4 id='method.from_str' class="method"><span id='from_str.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str' class='fnname'>from_str</a>(level: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#325-330' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#290-295' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#266' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#304-309' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#297-302' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq-1' class="method"><span id='eq.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#297-302' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#304-309' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq-1' class="method"><span id='eq.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
</div></section>
|
||||
<section id='search' class="content hidden"></section>
|
||||
|
||||
|
@ -85,25 +85,25 @@ Use this type to <a href="struct.MaxLogLevelFilter.html#method.get"><code>get()<
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#410' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><__H>(&self, __arg_0: &mut __H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#410' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#479-483' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#456-461' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#449-454' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp-1' class="method"><span id='partial_cmp.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#479-483' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&self, fmt: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#449-454' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp' class="method"><span id='partial_cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#456-461' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.partial_cmp-1' class="method"><span id='partial_cmp.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp' class='fnname'>partial_cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#463-468' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#470-477' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html" title="trait core::str::FromStr">FromStr</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#470-477' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Err' class="type"><span id='Err.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#associatedtype.Err' class="type">Err</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a></code></span></h4>
|
||||
<h4 id='method.from_str' class="method"><span id='from_str.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/str/trait.FromStr.html#tymethod.from_str' class='fnname'>from_str</a>(level: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#463-468' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.cmp' class="method"><span id='cmp.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html#tymethod.cmp' class='fnname'>cmp</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#428-433' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#410' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#435-440' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#442-447' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq-1' class="method"><span id='eq.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#442-447' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevel.html" title="enum flexi_logger::LogLevel">LogLevel</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>> for <a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/log/lib.rs.html#435-440' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq-1' class="method"><span id='eq.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../flexi_logger/enum.LogLevelFilter.html" title="enum flexi_logger::LogLevelFilter">LogLevelFilter</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
</div></section>
|
||||
<section id='search' class="content hidden"></section>
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/display.rs.html#60-173' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/display.rs.html#59-172' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait DisplayExt {
|
||||
fn <a href='#tymethod.beep' class='fnname'>beep</a>(&self);
|
||||
fn <a href='#tymethod.close' class='fnname'>close</a>(&self);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/drag_context.rs.html#37-76' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/drag_context.rs.html#36-75' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait DragContextExt {
|
||||
fn <a href='#tymethod.get_actions' class='fnname'>get_actions</a>(&self) -> <a class="struct" href="../../gdk/struct.DragAction.html" title="struct gdk::DragAction">DragAction</a>;
|
||||
fn <a href='#tymethod.get_dest_window' class='fnname'>get_dest_window</a>(&self) -> <a class="struct" href="../../gdk/struct.Window.html" title="struct gdk::Window">Window</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/drawing_context.rs.html#21-33' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/drawing_context.rs.html#20-32' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait DrawingContextExt {
|
||||
fn <a href='#tymethod.get_cairo_context' class='fnname'>get_cairo_context</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../cairo/context/struct.Context.html" title="struct cairo::context::Context">Context</a>>;
|
||||
fn <a href='#tymethod.get_clip' class='fnname'>get_clip</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../cairo/region/struct.Region.html" title="struct cairo::region::Region">Region</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/frame_clock.rs.html#27-65' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/frame_clock.rs.html#26-64' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FrameClockExt {
|
||||
fn <a href='#tymethod.begin_updating' class='fnname'>begin_updating</a>(&self);
|
||||
fn <a href='#tymethod.end_updating' class='fnname'>end_updating</a>(&self);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/g_l_context.rs.html#45-90' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/g_l_context.rs.html#44-89' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait GLContextExt {
|
||||
fn <a href='#tymethod.get_debug_enabled' class='fnname'>get_debug_enabled</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
fn <a href='#tymethod.get_display' class='fnname'>get_display</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Display.html" title="struct gdk::Display">Display</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/seat.rs.html#35-67' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/seat.rs.html#34-66' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SeatExt {
|
||||
fn <a href='#tymethod.get_capabilities' class='fnname'>get_capabilities</a>(&self) -> <a class="struct" href="../../gdk/struct.SeatCapabilities.html" title="struct gdk::SeatCapabilities">SeatCapabilities</a>;
|
||||
fn <a href='#tymethod.get_display' class='fnname'>get_display</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.Display.html" title="struct gdk::Display">Display</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/visual.rs.html#72-90' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/visual.rs.html#71-89' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait VisualExt {
|
||||
fn <a href='#tymethod.get_bits_per_rgb' class='fnname'>get_bits_per_rgb</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||||
fn <a href='#tymethod.get_blue_pixel_details' class='fnname'>get_blue_pixel_details</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/window.rs.html#96-437' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk/auto/window.rs.html#95-436' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait WindowExt {
|
||||
fn <a href='#tymethod.beep' class='fnname'>beep</a>(&self);
|
||||
fn <a href='#tymethod.begin_draw_frame' class='fnname'>begin_draw_frame</a>(&self, region: &<a class="struct" href="../../cairo/region/struct.Region.html" title="struct cairo::region::Region">Region</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gdk/struct.DrawingContext.html" title="struct gdk::DrawingContext">DrawingContext</a>>;
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Display(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/display.rs.html#37-58' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Display(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/display.rs.html#36-57' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.get_default' class="method"><span id='get_default.v' class='invisible'><code>fn <a href='#method.get_default' class='fnname'>get_default</a>() -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a>></code></span></h4>
|
||||
<h4 id='method.open' class="method"><span id='open.v' class='invisible'><code>fn <a href='#method.open' class='fnname'>open</a>(display_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a>></code></span></h4>
|
||||
<h4 id='method.open_default_libgtk_only' class="method"><span id='open_default_libgtk_only.v' class='invisible'><code>fn <a href='#method.open_default_libgtk_only' class='fnname'>open_default_libgtk_only</a>() -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a>></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct GLContext(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.GLContext.html" title="struct gdk::GLContext">GLContext</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/g_l_context.rs.html#27-43' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct GLContext(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.GLContext.html" title="struct gdk::GLContext">GLContext</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/g_l_context.rs.html#26-42' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clear_current' class="method"><span id='clear_current.v' class='invisible'><code>fn <a href='#method.clear_current' class='fnname'>clear_current</a>()</code></span></h4>
|
||||
<h4 id='method.get_current' class="method"><span id='get_current.v' class='invisible'><code>fn <a href='#method.get_current' class='fnname'>get_current</a>() -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.GLContext.html" title="struct gdk::GLContext">GLContext</a>></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gdk/struct.GLContext.html" title="struct gdk::GLContext">GLContext</a></code></span><span class='out-of-band'></span></h3>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Visual(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.Visual.html" title="struct gdk::Visual">Visual</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/visual.rs.html#21-70' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Visual(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.Visual.html" title="struct gdk::Visual">Visual</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/visual.rs.html#20-69' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.get_best' class="method"><span id='get_best.v' class='invisible'><code>fn <a href='#method.get_best' class='fnname'>get_best</a>() -> <a class="struct" href="../gdk/struct.Visual.html" title="struct gdk::Visual">Visual</a></code></span></h4>
|
||||
<h4 id='method.get_best_depth' class="method"><span id='get_best_depth.v' class='invisible'><code>fn <a href='#method.get_best_depth' class='fnname'>get_best_depth</a>() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h4>
|
||||
<h4 id='method.get_best_type' class="method"><span id='get_best_type.v' class='invisible'><code>fn <a href='#method.get_best_type' class='fnname'>get_best_type</a>() -> <a class="enum" href="../gdk/enum.VisualType.html" title="enum gdk::VisualType">VisualType</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Window(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/window.rs.html#60-94' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Window(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk/auto/window.rs.html#59-93' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.at_pointer' class="method"><span id='at_pointer.v' class='invisible'><code>fn <a href='#method.at_pointer' class='fnname'>at_pointer</a>() -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||||
<h4 id='method.constrain_size' class="method"><span id='constrain_size.v' class='invisible'><code>fn <a href='#method.constrain_size' class='fnname'>constrain_size</a>(<br> geometry: &mut <a class="struct" href="../gdk/struct.Geometry.html" title="struct gdk::Geometry">Geometry</a>, <br> flags: <a class="struct" href="../gdk/struct.WindowHints.html" title="struct gdk::WindowHints">WindowHints</a>, <br> width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h4>
|
||||
<h4 id='method.process_all_updates' class="method"><span id='process_all_updates.v' class='invisible'><code>fn <a href='#method.process_all_updates' class='fnname'>process_all_updates</a>()</code></span></h4>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/display.rs.html#60-173' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/display.rs.html#59-172' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait DisplayExt {
|
||||
fn <a href='#tymethod.beep' class='fnname'>beep</a>(&self);
|
||||
fn <a href='#tymethod.close' class='fnname'>close</a>(&self);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/drag_context.rs.html#37-76' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/drag_context.rs.html#36-75' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait DragContextExt {
|
||||
fn <a href='#tymethod.get_actions' class='fnname'>get_actions</a>(&self) -> <a class="struct" href="../gdk/struct.DragAction.html" title="struct gdk::DragAction">DragAction</a>;
|
||||
fn <a href='#tymethod.get_dest_window' class='fnname'>get_dest_window</a>(&self) -> <a class="struct" href="../gdk/struct.Window.html" title="struct gdk::Window">Window</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/drawing_context.rs.html#21-33' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/drawing_context.rs.html#20-32' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait DrawingContextExt {
|
||||
fn <a href='#tymethod.get_cairo_context' class='fnname'>get_cairo_context</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../cairo/context/struct.Context.html" title="struct cairo::context::Context">Context</a>>;
|
||||
fn <a href='#tymethod.get_clip' class='fnname'>get_clip</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../cairo/region/struct.Region.html" title="struct cairo::region::Region">Region</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/frame_clock.rs.html#27-65' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/frame_clock.rs.html#26-64' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FrameClockExt {
|
||||
fn <a href='#tymethod.begin_updating' class='fnname'>begin_updating</a>(&self);
|
||||
fn <a href='#tymethod.end_updating' class='fnname'>end_updating</a>(&self);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/g_l_context.rs.html#45-90' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/g_l_context.rs.html#44-89' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait GLContextExt {
|
||||
fn <a href='#tymethod.get_debug_enabled' class='fnname'>get_debug_enabled</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
fn <a href='#tymethod.get_display' class='fnname'>get_display</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/seat.rs.html#35-67' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/seat.rs.html#34-66' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SeatExt {
|
||||
fn <a href='#tymethod.get_capabilities' class='fnname'>get_capabilities</a>(&self) -> <a class="struct" href="../gdk/struct.SeatCapabilities.html" title="struct gdk::SeatCapabilities">SeatCapabilities</a>;
|
||||
fn <a href='#tymethod.get_display' class='fnname'>get_display</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.Display.html" title="struct gdk::Display">Display</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/visual.rs.html#72-90' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/visual.rs.html#71-89' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait VisualExt {
|
||||
fn <a href='#tymethod.get_bits_per_rgb' class='fnname'>get_bits_per_rgb</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||||
fn <a href='#tymethod.get_blue_pixel_details' class='fnname'>get_blue_pixel_details</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk/auto/window.rs.html#96-437' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk/auto/window.rs.html#95-436' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait WindowExt {
|
||||
fn <a href='#tymethod.beep' class='fnname'>beep</a>(&self);
|
||||
fn <a href='#tymethod.begin_draw_frame' class='fnname'>begin_draw_frame</a>(&self, region: &<a class="struct" href="../cairo/region/struct.Region.html" title="struct cairo::region::Region">Region</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gdk/struct.DrawingContext.html" title="struct gdk::DrawingContext">DrawingContext</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk_pixbuf/lib.rs.html#5-30' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk_pixbuf/lib.rs.html#5-29' title='goto source code'>[src]</a></span></h1>
|
||||
<h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
|
||||
<table>
|
||||
<tr class=' module-item'>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gdk_pixbuf/animation.rs.html#88-94' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gdk_pixbuf/animation.rs.html#87-93' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait PixbufAnimationExt {
|
||||
fn <a href='#tymethod.get_width' class='fnname'>get_width</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||||
fn <a href='#tymethod.get_height' class='fnname'>get_height</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Pixbuf(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/pixbuf.rs.html#28-246' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Pixbuf(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/pixbuf.rs.html#27-245' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>unsafe fn <a href='#method.new' class='fnname'>new</a>(<br> colorspace: <a class="type" href="../gdk_pixbuf/type.Colorspace.html" title="type gdk_pixbuf::Colorspace">Colorspace</a>, <br> has_alpha: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> bits_per_sample: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>></code></span></h4>
|
||||
<h4 id='method.new_from_vec' class="method"><span id='new_from_vec.v' class='invisible'><code>fn <a href='#method.new_from_vec' class='fnname'>new_from_vec</a>(<br> vec: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>, <br> colorspace: <a class="type" href="../gdk_pixbuf/type.Colorspace.html" title="type gdk_pixbuf::Colorspace">Colorspace</a>, <br> has_alpha: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> bits_per_sample: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> row_stride: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a><br>) -> <a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a></code></span></h4>
|
||||
<h4 id='method.new_from_file' class="method"><span id='new_from_file.v' class='invisible'><code>fn <a href='#method.new_from_file' class='fnname'>new_from_file</a>(filename: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a>, <a class="struct" href="../glib/error/struct.Error.html" title="struct glib::error::Error">Error</a>></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct PixbufAnimation(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufAnimation.html" title="struct gdk_pixbuf::PixbufAnimation">PixbufAnimation</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#54-86' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct PixbufAnimation(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufAnimation.html" title="struct gdk_pixbuf::PixbufAnimation">PixbufAnimation</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#53-85' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new_from_file' class="method"><span id='new_from_file.v' class='invisible'><code>fn <a href='#method.new_from_file' class='fnname'>new_from_file</a>(file: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gdk_pixbuf/struct.PixbufAnimation.html" title="struct gdk_pixbuf::PixbufAnimation">PixbufAnimation</a>, <a class="struct" href="../glib/error/struct.Error.html" title="struct glib::error::Error">Error</a>></code></span></h4>
|
||||
<h4 id='method.new_from_resource' class="method"><span id='new_from_resource.v' class='invisible'><code>fn <a href='#method.new_from_resource' class='fnname'>new_from_resource</a>(resource_path: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gdk_pixbuf/struct.PixbufAnimation.html" title="struct gdk_pixbuf::PixbufAnimation">PixbufAnimation</a>, <a class="struct" href="../glib/error/struct.Error.html" title="struct glib::error::Error">Error</a>></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gdk_pixbuf/struct.PixbufAnimation.html" title="struct gdk_pixbuf::PixbufAnimation">PixbufAnimation</a></code></span><span class='out-of-band'></span></h3>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct PixbufAnimationIter(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufAnimationIter.html" title="struct gdk_pixbuf::PixbufAnimationIter">PixbufAnimationIter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#22-44' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct PixbufAnimationIter(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufAnimationIter.html" title="struct gdk_pixbuf::PixbufAnimationIter">PixbufAnimationIter</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#21-43' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.advance' class="method"><span id='advance.v' class='invisible'><code>fn <a href='#method.advance' class='fnname'>advance</a>(&self, start_time: &<a class="struct" href="../glib_sys/struct.GTimeVal.html" title="struct glib_sys::GTimeVal">TimeVal</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<h4 id='method.get_pixbuf' class="method"><span id='get_pixbuf.v' class='invisible'><code>fn <a href='#method.get_pixbuf' class='fnname'>get_pixbuf</a>(&self) -> <a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a></code></span></h4>
|
||||
<h4 id='method.get_delay_time' class="method"><span id='get_delay_time.v' class='invisible'><code>fn <a href='#method.get_delay_time' class='fnname'>get_delay_time</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct PixbufLoader(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufLoader.html" title="struct gdk_pixbuf::PixbufLoader">PixbufLoader</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/loader.rs.html#23-105' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct PixbufLoader(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufLoader.html" title="struct gdk_pixbuf::PixbufLoader">PixbufLoader</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/loader.rs.html#22-104' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../gdk_pixbuf/struct.PixbufLoader.html" title="struct gdk_pixbuf::PixbufLoader">PixbufLoader</a></code></span></h4>
|
||||
<h4 id='method.new_with_type' class="method"><span id='new_with_type.v' class='invisible'><code>fn <a href='#method.new_with_type' class='fnname'>new_with_type</a>(image_type: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gdk_pixbuf/struct.PixbufLoader.html" title="struct gdk_pixbuf::PixbufLoader">PixbufLoader</a>, <a class="struct" href="../glib/error/struct.Error.html" title="struct glib::error::Error">Error</a>></code></span></h4>
|
||||
<h4 id='method.new_with_mime_type' class="method"><span id='new_with_mime_type.v' class='invisible'><code>fn <a href='#method.new_with_mime_type' class='fnname'>new_with_mime_type</a>(mime_type: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gdk_pixbuf/struct.PixbufLoader.html" title="struct gdk_pixbuf::PixbufLoader">PixbufLoader</a>, <a class="struct" href="../glib/error/struct.Error.html" title="struct glib::error::Error">Error</a>></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct PixbufSimpleAnim(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufSimpleAnim.html" title="struct gdk_pixbuf::PixbufSimpleAnim">PixbufSimpleAnim</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#135-153' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct PixbufSimpleAnim(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gdk_pixbuf/struct.PixbufSimpleAnim.html" title="struct gdk_pixbuf::PixbufSimpleAnim">PixbufSimpleAnim</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#134-152' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>(width: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, height: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, rate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>) -> <a class="struct" href="../gdk_pixbuf/struct.PixbufSimpleAnim.html" title="struct gdk_pixbuf::PixbufSimpleAnim">PixbufSimpleAnim</a></code></span></h4>
|
||||
<h4 id='method.add_frame' class="method"><span id='add_frame.v' class='invisible'><code>fn <a href='#method.add_frame' class='fnname'>add_frame</a>(&self, pixbuf: &<a class="struct" href="../gdk_pixbuf/struct.Pixbuf.html" title="struct gdk_pixbuf::Pixbuf">Pixbuf</a>)</code></span></h4>
|
||||
<h4 id='method.set_loop' class="method"><span id='set_loop.v' class='invisible'><code>fn <a href='#method.set_loop' class='fnname'>set_loop</a>(&self, loop_: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></h4>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#88-94' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gdk_pixbuf/animation.rs.html#87-93' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait PixbufAnimationExt {
|
||||
fn <a href='#tymethod.get_width' class='fnname'>get_width</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||||
fn <a href='#tymethod.get_height' class='fnname'>get_height</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/action.rs.html#51-67' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/action.rs.html#50-66' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ActionExt {
|
||||
fn <a href='#tymethod.activate' class='fnname'>activate</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>>>(&self, parameter: P);
|
||||
fn <a href='#tymethod.change_state' class='fnname'>change_state</a>(&self, value: &<a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/action_group.rs.html#24-58' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/action_group.rs.html#23-57' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ActionGroupExt {
|
||||
fn <a href='#tymethod.action_added' class='fnname'>action_added</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
||||
fn <a href='#tymethod.action_enabled_changed' class='fnname'>action_enabled_changed</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, enabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/action_map.rs.html#18-26' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/action_map.rs.html#17-25' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ActionMapExt {
|
||||
fn <a href='#tymethod.add_action' class='fnname'>add_action</a><P: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gio/struct.Action.html" title="struct gio::Action">Action</a>>>(&self, action: &P);
|
||||
fn <a href='#tymethod.lookup_action' class='fnname'>lookup_action</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gio/struct.Action.html" title="struct gio::Action">Action</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/app_info.rs.html#98-145' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/app_info.rs.html#97-144' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait AppInfoExt {
|
||||
fn <a href='#tymethod.add_supports_type' class='fnname'>add_supports_type</a>(&self, content_type: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="../../gio/struct.Error.html" title="struct gio::Error">Error</a>>;
|
||||
fn <a href='#tymethod.can_delete' class='fnname'>can_delete</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/app_launch_context.rs.html#40-58' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/app_launch_context.rs.html#39-57' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait AppLaunchContextExt {
|
||||
fn <a href='#tymethod.get_display' class='fnname'>get_display</a><P: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a>>>(<br> &self, <br> info: &P, <br> files: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../../gio/struct.File.html" title="struct gio::File">File</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
fn <a href='#tymethod.get_environment' class='fnname'>get_environment</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
|
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/cancellable.rs.html#40-66' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/cancellable.rs.html#39-65' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait CancellableExt {
|
||||
fn <a href='#tymethod.cancel' class='fnname'>cancel</a>(&self);
|
||||
fn <a href='#tymethod.disconnect' class='fnname'>disconnect</a>(&self, handler_id: <a class="type" href="../../libc/unix/notbsd/linux/other/b64/type.c_ulong.html" title="type libc::unix::notbsd::linux::other::b64::c_ulong">c_ulong</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/file.rs.html#62-306' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/file.rs.html#61-305' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FileExt {
|
||||
fn <a href='#tymethod.delete' class='fnname'>delete</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a>>>>(<br> &self, <br> cancellable: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="../../gio/struct.Error.html" title="struct gio::Error">Error</a>>;
|
||||
fn <a href='#tymethod.dup' class='fnname'>dup</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gio/struct.File.html" title="struct gio::File">File</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/file_info.rs.html#29-156' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/file_info.rs.html#28-155' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FileInfoExt {
|
||||
fn <a href='#tymethod.clear_status' class='fnname'>clear_status</a>(&self);
|
||||
fn <a href='#tymethod.copy_into' class='fnname'>copy_into</a>(&self, dest_info: &<a class="struct" href="../../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/icon.rs.html#42-49' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/icon.rs.html#41-48' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait IconExt {
|
||||
fn <a href='#tymethod.equal' class='fnname'>equal</a><'a, P: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gio/struct.Icon.html" title="struct gio::Icon">Icon</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> icon2: Q<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
fn <a href='#tymethod.serialize' class='fnname'>serialize</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_attribute_iter.rs.html#19-27' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_attribute_iter.rs.html#18-26' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuAttributeIterExt {
|
||||
fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
fn <a href='#tymethod.get_next' class='fnname'>get_next</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu.rs.html#27-58' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu.rs.html#26-57' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuExt {
|
||||
fn <a href='#tymethod.append' class='fnname'>append</a><'a, 'b, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'b <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> &self, <br> label: P, <br> detailed_action: Q<br> );
|
||||
fn <a href='#tymethod.append_item' class='fnname'>append_item</a>(&self, item: &<a class="struct" href="../../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_item.rs.html#56-86' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_item.rs.html#55-85' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuItemExt {
|
||||
fn <a href='#tymethod.get_attribute_value' class='fnname'>get_attribute_value</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../glib/variant_type/struct.VariantTy.html" title="struct glib::variant_type::VariantTy">VariantTy</a>>>>(<br> &self, <br> attribute: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> expected_type: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>;
|
||||
fn <a href='#tymethod.get_link' class='fnname'>get_link</a>(&self, link: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_link_iter.rs.html#19-27' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_link_iter.rs.html#18-26' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuLinkIterExt {
|
||||
fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
fn <a href='#tymethod.get_next' class='fnname'>get_next</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_model.rs.html#26-44' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/menu_model.rs.html#25-43' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuModelExt {
|
||||
fn <a href='#tymethod.get_item_attribute_value' class='fnname'>get_item_attribute_value</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../glib/variant_type/struct.VariantTy.html" title="struct glib::variant_type::VariantTy">VariantTy</a>>>>(<br> &self, <br> item_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> attribute: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> expected_type: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>;
|
||||
fn <a href='#tymethod.get_item_link' class='fnname'>get_item_link</a>(&self, item_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, link: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/notification.rs.html#32-65' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/notification.rs.html#31-64' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait NotificationExt {
|
||||
fn <a href='#tymethod.add_button' class='fnname'>add_button</a>(&self, label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, detailed_action: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
||||
fn <a href='#tymethod.add_button_with_target_value' class='fnname'>add_button_with_target_value</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>>>(<br> &self, <br> label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> action: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> target: P<br> );
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/simple_action.rs.html#42-53' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/simple_action.rs.html#41-52' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SimpleActionExt {
|
||||
fn <a href='#tymethod.set_enabled' class='fnname'>set_enabled</a>(&self, enabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
||||
fn <a href='#tymethod.set_state' class='fnname'>set_state</a>(&self, value: &<a class="struct" href="../../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/gio/auto/simple_action_group.rs.html#28-36' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/gio/auto/simple_action_group.rs.html#27-35' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SimpleActionGroupExt {
|
||||
fn <a href='#tymethod.insert' class='fnname'>insert</a><P: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../gio/struct.Action.html" title="struct gio::Action">Action</a>>>(&self, action: &P);
|
||||
fn <a href='#tymethod.lookup' class='fnname'>lookup</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../gio/struct.Action.html" title="struct gio::Action">Action</a>>;
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Action(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Action.html" title="struct gio::Action">Action</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/action.rs.html#22-49' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Action(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Action.html" title="struct gio::Action">Action</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/action.rs.html#21-48' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.name_is_valid' class="method"><span id='name_is_valid.v' class='invisible'><code>fn <a href='#method.name_is_valid' class='fnname'>name_is_valid</a>(action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<h4 id='method.parse_detailed_name' class="method"><span id='parse_detailed_name.v' class='invisible'><code>fn <a href='#method.parse_detailed_name' class='fnname'>parse_detailed_name</a>(detailed_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <a class="struct" href="../gio/struct.Error.html" title="struct gio::Error">Error</a>></code></span></h4>
|
||||
<h4 id='method.print_detailed_name' class="method"><span id='print_detailed_name.v' class='invisible'><code>fn <a href='#method.print_detailed_name' class='fnname'>print_detailed_name</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>>>(<br> action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> target_value: P<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct AppInfo(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/app_info.rs.html#24-96' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct AppInfo(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/app_info.rs.html#23-95' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.create_from_commandline' class="method"><span id='create_from_commandline.v' class='invisible'><code>fn <a href='#method.create_from_commandline' class='fnname'>create_from_commandline</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> commandline: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> application_name: P, <br> flags: <a class="struct" href="../gio/struct.AppInfoCreateFlags.html" title="struct gio::AppInfoCreateFlags">AppInfoCreateFlags</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a>, <a class="struct" href="../gio/struct.Error.html" title="struct gio::Error">Error</a>></code></span></h4>
|
||||
<h4 id='method.get_all' class="method"><span id='get_all.v' class='invisible'><code>fn <a href='#method.get_all' class='fnname'>get_all</a>() -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a>></code></span></h4>
|
||||
<h4 id='method.get_all_for_type' class="method"><span id='get_all_for_type.v' class='invisible'><code>fn <a href='#method.get_all_for_type' class='fnname'>get_all_for_type</a>(content_type: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a>></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct AppLaunchContext(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.AppLaunchContext.html" title="struct gio::AppLaunchContext">AppLaunchContext</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/app_launch_context.rs.html#32-38' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct AppLaunchContext(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.AppLaunchContext.html" title="struct gio::AppLaunchContext">AppLaunchContext</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/app_launch_context.rs.html#31-37' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../gio/struct.AppLaunchContext.html" title="struct gio::AppLaunchContext">AppLaunchContext</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.AppLaunchContext.html" title="struct gio::AppLaunchContext">AppLaunchContext</a></code></span><span class='out-of-band'></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.AppLaunchContext.html" title="struct gio::AppLaunchContext">AppLaunchContext</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Cancellable(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/cancellable.rs.html#26-38' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Cancellable(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/cancellable.rs.html#25-37' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a></code></span></h4>
|
||||
<h4 id='method.get_current' class="method"><span id='get_current.v' class='invisible'><code>fn <a href='#method.get_current' class='fnname'>get_current</a>() -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a>></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a></code></span><span class='out-of-band'></span></h3>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct File(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/file.rs.html#25-60' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct File(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/file.rs.html#24-59' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new_for_commandline_arg' class="method"><span id='new_for_commandline_arg.v' class='invisible'><code>fn <a href='#method.new_for_commandline_arg' class='fnname'>new_for_commandline_arg</a>(arg: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a></code></span></h4>
|
||||
<h4 id='method.new_for_commandline_arg_and_cwd' class="method"><span id='new_for_commandline_arg_and_cwd.v' class='invisible'><code>fn <a href='#method.new_for_commandline_arg_and_cwd' class='fnname'>new_for_commandline_arg_and_cwd</a><P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.Path.html" title="struct std::path::Path">Path</a>>>(arg: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, cwd: P) -> <a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a></code></span></h4>
|
||||
<h4 id='method.new_for_path' class="method"><span id='new_for_path.v' class='invisible'><code>fn <a href='#method.new_for_path' class='fnname'>new_for_path</a><P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.Path.html" title="struct std::path::Path">Path</a>>>(path: P) -> <a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct FileInfo(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/file_info.rs.html#21-27' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct FileInfo(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/file_info.rs.html#20-26' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a></code></span><span class='out-of-band'></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Icon(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Icon.html" title="struct gio::Icon">Icon</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/icon.rs.html#21-40' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Icon(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Icon.html" title="struct gio::Icon">Icon</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/icon.rs.html#20-39' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.deserialize' class="method"><span id='deserialize.v' class='invisible'><code>fn <a href='#method.deserialize' class='fnname'>deserialize</a>(value: &<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.Icon.html" title="struct gio::Icon">Icon</a>></code></span></h4>
|
||||
<h4 id='method.new_for_string' class="method"><span id='new_for_string.v' class='invisible'><code>fn <a href='#method.new_for_string' class='fnname'>new_for_string</a>(str: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../gio/struct.Icon.html" title="struct gio::Icon">Icon</a>, <a class="struct" href="../gio/struct.Error.html" title="struct gio::Error">Error</a>></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.Icon.html" title="struct gio::Icon">Icon</a></code></span><span class='out-of-band'></span></h3>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Menu(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Menu.html" title="struct gio::Menu">Menu</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/menu.rs.html#19-25' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Menu(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Menu.html" title="struct gio::Menu">Menu</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/menu.rs.html#18-24' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../gio/struct.Menu.html" title="struct gio::Menu">Menu</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.Menu.html" title="struct gio::Menu">Menu</a></code></span><span class='out-of-band'></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.Menu.html" title="struct gio::Menu">Menu</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct MenuItem(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/menu_item.rs.html#21-54' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct MenuItem(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/menu_item.rs.html#20-53' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a><'a, 'b, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'b <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> label: P, <br> detailed_action: Q<br>) -> <a class="struct" href="../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a></code></span></h4>
|
||||
<h4 id='method.new_from_model' class="method"><span id='new_from_model.v' class='invisible'><code>fn <a href='#method.new_from_model' class='fnname'>new_from_model</a><P: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a>>>(model: &P, item_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="struct" href="../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a></code></span></h4>
|
||||
<h4 id='method.new_section' class="method"><span id='new_section.v' class='invisible'><code>fn <a href='#method.new_section' class='fnname'>new_section</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>, Q: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a>>>(<br> label: P, <br> section: &Q<br>) -> <a class="struct" href="../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct Notification(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Notification.html" title="struct gio::Notification">Notification</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/notification.rs.html#23-30' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct Notification(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.Notification.html" title="struct gio::Notification">Notification</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/notification.rs.html#22-29' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>(title: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="struct" href="../gio/struct.Notification.html" title="struct gio::Notification">Notification</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.Notification.html" title="struct gio::Notification">Notification</a></code></span><span class='out-of-band'></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.Notification.html" title="struct gio::Notification">Notification</a></code></span></h4>
|
||||
|
@ -48,26 +48,26 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/glib/object.rs.html#145' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct Object(_, _);</pre><div class='docblock'><p>The base class in the object hierarchy.</p>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#269' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#246' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#232-236' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.static_type' class="method"><span id='static_type.v' class='invisible'><code>fn <a href='../glib/types/trait.StaticType.html#tymethod.static_type' class='fnname'>static_type</a>() -> <a class="enum" href="../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns the type identifier of <code>Self</code>.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><__H>(&self, __arg_0: &mut __H) <span class="where fmt-newline">where<br> __H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code></span></h4>
|
||||
<div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||||
</div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: &mut H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div></span></h4>
|
||||
<div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#233-237' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.static_type' class="method"><span id='static_type.v' class='invisible'><code>fn <a href='../glib/types/trait.StaticType.html#tymethod.static_type' class='fnname'>static_type</a>() -> <a class="enum" href="../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns the type identifier of <code>Self</code>.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#239-245' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T> for <a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.Object.html" title="struct gio::Object">Object</a>>, </span></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/glib/object.rs.html#238-244' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &T) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct SimpleAction(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.SimpleAction.html" title="struct gio::SimpleAction">SimpleAction</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/simple_action.rs.html#24-40' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct SimpleAction(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.SimpleAction.html" title="struct gio::SimpleAction">SimpleAction</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/simple_action.rs.html#23-39' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant_type/struct.VariantTy.html" title="struct glib::variant_type::VariantTy">VariantTy</a>>>>(<br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> parameter_type: P<br>) -> <a class="struct" href="../gio/struct.SimpleAction.html" title="struct gio::SimpleAction">SimpleAction</a></code></span></h4>
|
||||
<h4 id='method.new_stateful' class="method"><span id='new_stateful.v' class='invisible'><code>fn <a href='#method.new_stateful' class='fnname'>new_stateful</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant_type/struct.VariantTy.html" title="struct glib::variant_type::VariantTy">VariantTy</a>>>>(<br> name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> parameter_type: P, <br> state: &<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a><br>) -> <a class="struct" href="../gio/struct.SimpleAction.html" title="struct gio::SimpleAction">SimpleAction</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.SimpleAction.html" title="struct gio::SimpleAction">SimpleAction</a></code></span><span class='out-of-band'></span></h3>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct SimpleActionGroup(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.SimpleActionGroup.html" title="struct gio::SimpleActionGroup">SimpleActionGroup</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/simple_action_group.rs.html#20-26' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct SimpleActionGroup(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.SimpleActionGroup.html" title="struct gio::SimpleActionGroup">SimpleActionGroup</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/simple_action_group.rs.html#19-25' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>() -> <a class="struct" href="../gio/struct.SimpleActionGroup.html" title="struct gio::SimpleActionGroup">SimpleActionGroup</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.SimpleActionGroup.html" title="struct gio::SimpleActionGroup">SimpleActionGroup</a></code></span><span class='out-of-band'></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.SimpleActionGroup.html" title="struct gio::SimpleActionGroup">SimpleActionGroup</a></code></span></h4>
|
||||
|
@ -49,7 +49,7 @@
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span></span></h1>
|
||||
<pre class='rust struct'>pub struct SimplePermission(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.SimplePermission.html" title="struct gio::SimplePermission">SimplePermission</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/simple_permission.rs.html#18-24' title='goto source code'>[src]</a></span></h3>
|
||||
<pre class='rust struct'>pub struct SimplePermission(_, _);</pre><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../gio/struct.SimplePermission.html" title="struct gio::SimplePermission">SimplePermission</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/gio/auto/simple_permission.rs.html#17-23' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.new' class="method"><span id='new.v' class='invisible'><code>fn <a href='#method.new' class='fnname'>new</a>(allowed: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="struct" href="../gio/struct.SimplePermission.html" title="struct gio::SimplePermission">SimplePermission</a></code></span></h4>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../gio/struct.SimplePermission.html" title="struct gio::SimplePermission">SimplePermission</a></code></span><span class='out-of-band'></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../gio/struct.SimplePermission.html" title="struct gio::SimplePermission">SimplePermission</a></code></span></h4>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/action.rs.html#51-67' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/action.rs.html#50-66' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ActionExt {
|
||||
fn <a href='#tymethod.activate' class='fnname'>activate</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>>>(&self, parameter: P);
|
||||
fn <a href='#tymethod.change_state' class='fnname'>change_state</a>(&self, value: &<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/action_group.rs.html#24-58' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/action_group.rs.html#23-57' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ActionGroupExt {
|
||||
fn <a href='#tymethod.action_added' class='fnname'>action_added</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
||||
fn <a href='#tymethod.action_enabled_changed' class='fnname'>action_enabled_changed</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, enabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/action_map.rs.html#18-26' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/action_map.rs.html#17-25' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait ActionMapExt {
|
||||
fn <a href='#tymethod.add_action' class='fnname'>add_action</a><P: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.Action.html" title="struct gio::Action">Action</a>>>(&self, action: &P);
|
||||
fn <a href='#tymethod.lookup_action' class='fnname'>lookup_action</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.Action.html" title="struct gio::Action">Action</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/app_info.rs.html#98-145' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/app_info.rs.html#97-144' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait AppInfoExt {
|
||||
fn <a href='#tymethod.add_supports_type' class='fnname'>add_supports_type</a>(&self, content_type: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="../gio/struct.Error.html" title="struct gio::Error">Error</a>>;
|
||||
fn <a href='#tymethod.can_delete' class='fnname'>can_delete</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/app_launch_context.rs.html#40-58' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/app_launch_context.rs.html#39-57' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait AppLaunchContextExt {
|
||||
fn <a href='#tymethod.get_display' class='fnname'>get_display</a><P: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.AppInfo.html" title="struct gio::AppInfo">AppInfo</a>>>(<br> &self, <br> info: &P, <br> files: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a><br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
fn <a href='#tymethod.get_environment' class='fnname'>get_environment</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
|
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/cancellable.rs.html#40-66' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/cancellable.rs.html#39-65' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait CancellableExt {
|
||||
fn <a href='#tymethod.cancel' class='fnname'>cancel</a>(&self);
|
||||
fn <a href='#tymethod.disconnect' class='fnname'>disconnect</a>(&self, handler_id: <a class="type" href="../libc/unix/notbsd/linux/other/b64/type.c_ulong.html" title="type libc::unix::notbsd::linux::other::b64::c_ulong">c_ulong</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/file.rs.html#62-306' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/file.rs.html#61-305' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FileExt {
|
||||
fn <a href='#tymethod.delete' class='fnname'>delete</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../gio/struct.Cancellable.html" title="struct gio::Cancellable">Cancellable</a>>>>(<br> &self, <br> cancellable: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="../gio/struct.Error.html" title="struct gio::Error">Error</a>>;
|
||||
fn <a href='#tymethod.dup' class='fnname'>dup</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.File.html" title="struct gio::File">File</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/file_info.rs.html#29-156' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/file_info.rs.html#28-155' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FileInfoExt {
|
||||
fn <a href='#tymethod.clear_status' class='fnname'>clear_status</a>(&self);
|
||||
fn <a href='#tymethod.copy_into' class='fnname'>copy_into</a>(&self, dest_info: &<a class="struct" href="../gio/struct.FileInfo.html" title="struct gio::FileInfo">FileInfo</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/icon.rs.html#42-49' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/icon.rs.html#41-48' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait IconExt {
|
||||
fn <a href='#tymethod.equal' class='fnname'>equal</a><'a, P: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.Icon.html" title="struct gio::Icon">Icon</a>> + 'a, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a P>>>(<br> &self, <br> icon2: Q<br> ) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
fn <a href='#tymethod.serialize' class='fnname'>serialize</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_attribute_iter.rs.html#19-27' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_attribute_iter.rs.html#18-26' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuAttributeIterExt {
|
||||
fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
fn <a href='#tymethod.get_next' class='fnname'>get_next</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu.rs.html#27-58' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu.rs.html#26-57' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuExt {
|
||||
fn <a href='#tymethod.append' class='fnname'>append</a><'a, 'b, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>, Q: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'b <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>>(<br> &self, <br> label: P, <br> detailed_action: Q<br> );
|
||||
fn <a href='#tymethod.append_item' class='fnname'>append_item</a>(&self, item: &<a class="struct" href="../gio/struct.MenuItem.html" title="struct gio::MenuItem">MenuItem</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_item.rs.html#56-86' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_item.rs.html#55-85' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuItemExt {
|
||||
fn <a href='#tymethod.get_attribute_value' class='fnname'>get_attribute_value</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant_type/struct.VariantTy.html" title="struct glib::variant_type::VariantTy">VariantTy</a>>>>(<br> &self, <br> attribute: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> expected_type: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>;
|
||||
fn <a href='#tymethod.get_link' class='fnname'>get_link</a>(&self, link: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_link_iter.rs.html#19-27' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_link_iter.rs.html#18-26' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuLinkIterExt {
|
||||
fn <a href='#tymethod.get_name' class='fnname'>get_name</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>;
|
||||
fn <a href='#tymethod.get_next' class='fnname'>get_next</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_model.rs.html#26-44' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/menu_model.rs.html#25-43' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait MenuModelExt {
|
||||
fn <a href='#tymethod.get_item_attribute_value' class='fnname'>get_item_attribute_value</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant_type/struct.VariantTy.html" title="struct glib::variant_type::VariantTy">VariantTy</a>>>>(<br> &self, <br> item_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, <br> attribute: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> expected_type: P<br> ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>;
|
||||
fn <a href='#tymethod.get_item_link' class='fnname'>get_item_link</a>(&self, item_index: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>, link: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.MenuModel.html" title="struct gio::MenuModel">MenuModel</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/notification.rs.html#32-65' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/notification.rs.html#31-64' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait NotificationExt {
|
||||
fn <a href='#tymethod.add_button' class='fnname'>add_button</a>(&self, label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, detailed_action: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>);
|
||||
fn <a href='#tymethod.add_button_with_target_value' class='fnname'>add_button_with_target_value</a><'a, P: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>>>>(<br> &self, <br> label: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> action: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> target: P<br> );
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/simple_action.rs.html#42-53' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/simple_action.rs.html#41-52' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SimpleActionExt {
|
||||
fn <a href='#tymethod.set_enabled' class='fnname'>set_enabled</a>(&self, enabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>);
|
||||
fn <a href='#tymethod.set_state' class='fnname'>set_state</a>(&self, value: &<a class="struct" href="../glib/variant/struct.Variant.html" title="struct glib::variant::Variant">Variant</a>);
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/gio/auto/simple_action_group.rs.html#28-36' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/gio/auto/simple_action_group.rs.html#27-35' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SimpleActionGroupExt {
|
||||
fn <a href='#tymethod.insert' class='fnname'>insert</a><P: <a class="trait" href="../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../gio/struct.Action.html" title="struct gio::Action">Action</a>>>(&self, action: &P);
|
||||
fn <a href='#tymethod.lookup' class='fnname'>lookup</a>(&self, action_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../gio/struct.Action.html" title="struct gio::Action">Action</a>>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../src/glib/object.rs.html#141-366' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../src/glib/object.rs.html#140-343' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class="rust macro">
|
||||
<span class="macro">macro_rules</span><span class="macro">!</span> <span class="ident">glib_object_wrapper</span> {
|
||||
([$(<span class="macro-nonterminal">$</span><span class="macro-nonterminal">attr</span>:<span class="ident">meta</span>)<span class="kw-2">*</span>] <span class="macro-nonterminal">$</span><span class="macro-nonterminal">name</span>:<span class="ident">ident</span>, <span class="macro-nonterminal">$</span><span class="macro-nonterminal">ffi_name</span>:<span class="ident">path</span>, @<span class="ident">get_type</span> <span class="macro-nonterminal">$</span><span class="macro-nonterminal">get_type_expr</span>:<span class="ident">expr</span>) <span class="op">=></span> { ... };
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#5-569' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#5-546' title='goto source code'>[src]</a></span></h1>
|
||||
<div class='docblock'><p><code>IMPL</code> Object wrapper implementation and <code>Object</code> binding.</p>
|
||||
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
||||
<table>
|
||||
|
@ -48,30 +48,30 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#145' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct Object(_, _);</pre><div class='docblock'><p>The base class in the object hierarchy.</p>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, __arg_0: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#144' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#143' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.hash' class="method"><span id='hash.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a><__H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, __arg_0: &mut __H)</code></span></h4>
|
||||
<div class='docblock'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
|
||||
</div><h4 id='method.hash_slice' class="method"><span id='hash_slice.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a><H>(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[Self]</a>, state: &mut H) <span class="where fmt-newline">where<br> H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>, </span></code><div class='since' title='Stable since Rust version 1.3.0'>1.3.0</div></span></h4>
|
||||
<div class='docblock'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#233-237' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#232-236' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.static_type' class="method"><span id='static_type.v' class='invisible'><code>fn <a href='../../glib/types/trait.StaticType.html#tymethod.static_type' class='fnname'>static_type</a>() -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns the type identifier of <code>Self</code>.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#239-245' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><T> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#238-244' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.eq' class="method"><span id='eq.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &T) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||||
</div><h4 id='method.ne' class="method"><span id='ne.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#269' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/object.rs.html#246' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'></div></section>
|
||||
<section id='search' class="content hidden"></section>
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#23-61' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#22-60' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait Cast: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>> {
|
||||
fn <a href='#method.upcast' class='fnname'>upcast</a><T>(self) -> T<br> <span class="where">where<br> T: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="../../glib/wrapper/trait.UnsafeFrom.html" title="trait glib::wrapper::UnsafeFrom">UnsafeFrom</a><ObjectRef> + <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a>,<br> Self: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><T></span>,
|
||||
{ ... }
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#87-100' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#86-99' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait Downcast<T> {
|
||||
fn <a href='#tymethod.can_downcast' class='fnname'>can_downcast</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>;
|
||||
fn <a href='#tymethod.downcast' class='fnname'>downcast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, Self><br> <span class="where">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span>;
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#78-80' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/object.rs.html#77-79' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait IsA<T: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="../../glib/wrapper/trait.UnsafeFrom.html" title="trait glib::wrapper::UnsafeFrom">UnsafeFrom</a><ObjectRef> + <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a>>: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><ObjectRef> + <a class="trait" href="../../glib/wrapper/trait.UnsafeFrom.html" title="trait glib::wrapper::UnsafeFrom">UnsafeFrom</a><ObjectRef> + for<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><T as <a class="trait" href="../../glib/wrapper/trait.Wrapper.html" title="trait glib::wrapper::Wrapper">Wrapper</a>>::<a class="type" href="../../glib/wrapper/trait.Wrapper.html#associatedtype.GlibType" title="type glib::wrapper::Wrapper::GlibType">GlibType</a>> { }</pre><div class='docblock'><p>Declares the "is a" relationship.</p>
|
||||
|
||||
<p><code>Self</code> is said to implement <code>T</code>.</p>
|
||||
|
File diff suppressed because one or more lines are too long
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#5-567' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#5-587' title='goto source code'>[src]</a></span></h1>
|
||||
<div class='docblock'><p><code>Value</code> binding and helper traits.</p>
|
||||
|
||||
<p>The type of a <a href="struct.Value.html"><code>Value</code></a> is dynamic in that it generally
|
||||
|
@ -48,14 +48,14 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#287' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#288' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct TypedValue<T>(_, _);</pre><div class='docblock'><p>A statically typed <a href="struct.Value.html"><code>Value</code></a>.</p>
|
||||
|
||||
<p>It dereferences to <code>Value</code> and can be used everywhere <code>Value</code> references are
|
||||
accepted.</p>
|
||||
|
||||
<p>See the <a href="index.html">module documentation</a> for more details.</p>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#289-324' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#290-325' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.get' class="method"><span id='get.v' class='invisible'><code>fn <a href='#method.get' class='fnname'>get</a>(&'a self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><T></code></span></h4>
|
||||
<div class='docblock'><p>Returns the value.</p>
|
||||
|
||||
@ -92,38 +92,38 @@ typed <code>None</code> values. Use <code>downcast</code> or <code>is</code> for
|
||||
<div class='docblock'><p>Returns <code>true</code> if the type of the value corresponds to <code>T</code>.</p>
|
||||
</div><h4 id='method.type_' class="method"><span id='type_.v' class='invisible'><code>fn <a href='#method.type_' class='fnname'>type_</a>(&self) -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns the type of the value.</p>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#326-330' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#327-331' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#332-336' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#333-337' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#338-344' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#339-345' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Target' class="type"><span id='Target.t' class='invisible'><code>type <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target' class="type">Target</a> = <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>The resulting type after dereferencing</p>
|
||||
</div><h4 id='method.deref' class="method"><span id='deref.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&self) -> &<a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>The method called to dereference a value</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#346-350' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#347-351' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.deref_mut' class="method"><span id='deref_mut.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html#tymethod.deref_mut' class='fnname'>deref_mut</a>(&mut self) -> &mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>The method called to mutably dereference a value</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#352-356' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#353-357' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#358-362' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#359-363' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-1' class="method"><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: &'a T) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#364-368' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#365-369' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-2' class="method"><span id='from.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#370-374' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#371-375' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-3' class="method"><span id='from.v-3' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#376-380' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#377-381' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-4' class="method"><span id='from.v-4' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#382-386' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>> for <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><&'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#383-387' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-5' class="method"><span id='from.v-5' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div></section>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#96' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#97' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct Value(_);</pre><div class='docblock'><p>A generic value capable of carrying various types.</p>
|
||||
|
||||
<p>Once created the type of the value can't be changed.</p>
|
||||
@ -57,7 +57,7 @@
|
||||
(e.g. numeric types) don't.</p>
|
||||
|
||||
<p>See the <a href="index.html">module documentation</a> for more details.</p>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#98-163' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h2 id='methods'>Methods</h2><h3 class='impl'><span class='in-band'><code>impl <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#99-164' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.downcast' class="method"><span id='downcast.v' class='invisible'><code>fn <a href='#method.downcast' class='fnname'>downcast</a><'a, T: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>>(<br> self<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>, Self></code></span></h4>
|
||||
<div class='docblock'><p>Tries to downcast to a <code>TypedValue</code>.</p>
|
||||
|
||||
@ -76,30 +76,30 @@ typed <code>None</code> values. Use <code>downcast</code> or <code>is</code> for
|
||||
<div class='docblock'><p>Returns the type of the value.</p>
|
||||
</div><h4 id='method.type_transformable' class="method"><span id='type_transformable.v' class='invisible'><code>fn <a href='#method.type_transformable' class='fnname'>type_transformable</a>(src: <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a>, dst: <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns whether <code>Value</code>s of type <code>src</code> can be transformed to type <code>dst</code>.</p>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#165-174' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#166-175' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.clone' class="method"><span id='clone.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id='method.clone_from' class="method"><span id='clone_from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: &Self)</code><div class='since' title='Stable since Rust version 1.0.0'>1.0.0</div></span></h4>
|
||||
<div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#176-180' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#177-181' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.drop' class="method"><span id='drop.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop' class='fnname'>drop</a>(&mut self)</code></span></h4>
|
||||
<div class='docblock'><p>A method called when the value goes out of scope. <a href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#182-190' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#183-191' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>></code></span></h4>
|
||||
<div class='docblock'><p>Formats the value using the given formatter.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#192-197' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValueOptional.html" title="trait glib::value::SetValueOptional">SetValueOptional</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#193-198' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from' class="method"><span id='from.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&'a T>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#199-204' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><&'a T> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#200-205' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-1' class="method"><span id='from.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: &'a T) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#206-210' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#207-211' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from-2' class="method"><span id='from.v-2' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(value: <a class="struct" href="../../glib/value/struct.TypedValue.html" title="struct glib::value::TypedValue">TypedValue</a><T>) -> Self</code></span></h4>
|
||||
<div class='docblock'><p>Performs the conversion.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.Uninitialized.html" title="trait glib::translate::Uninitialized">Uninitialized</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#212-216' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.Uninitialized.html" title="trait glib::translate::Uninitialized">Uninitialized</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#213-217' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.uninitialized' class="method"><span id='uninitialized.v' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.Uninitialized.html#tymethod.uninitialized' class='fnname'>uninitialized</a>() -> <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns an uninitialized value.</p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#218-224' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtr.html" title="trait glib::translate::ToGlibPtr">ToGlibPtr</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#219-225' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Storage' class="type"><span id='Storage.t' class='invisible'><code>type <a href='../../glib/translate/trait.ToGlibPtr.html#associatedtype.Storage' class="type">Storage</a> = &'a <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<h4 id='method.to_glib_none' class="method"><span id='to_glib_none.v' class='invisible'><code>fn <a href='../../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none' class='fnname'>to_glib_none</a>(&'a self) -> <a class="struct" href="../../glib/translate/struct.Stash.html" title="struct glib::translate::Stash">Stash</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>, Self></code></span></h4>
|
||||
<div class='docblock'><p>Transfer: none. <a href="../../glib/translate/trait.ToGlibPtr.html#tymethod.to_glib_none">Read more</a></p>
|
||||
@ -107,17 +107,17 @@ typed <code>None</code> values. Use <code>downcast</code> or <code>is</code> for
|
||||
<div class='docblock'><p>Transfer: container. <a href="../../glib/translate/trait.ToGlibPtr.html#method.to_glib_container">Read more</a></p>
|
||||
</div><h4 id='method.to_glib_full' class="method"><span id='to_glib_full.v' class='invisible'><code>fn <a href='../../glib/translate/trait.ToGlibPtr.html#method.to_glib_full' class='fnname'>to_glib_full</a>(&self) -> P</code></span></h4>
|
||||
<div class='docblock'><p>Transfer: full. <a href="../../glib/translate/trait.ToGlibPtr.html#method.to_glib_full">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtrMut.html" title="trait glib::translate::ToGlibPtrMut">ToGlibPtrMut</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#226-232' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl<'a> <a class="trait" href="../../glib/translate/trait.ToGlibPtrMut.html" title="trait glib::translate::ToGlibPtrMut">ToGlibPtrMut</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#227-233' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='associatedtype.Storage-1' class="type"><span id='Storage.t-1' class='invisible'><code>type <a href='../../glib/translate/trait.ToGlibPtrMut.html#associatedtype.Storage' class="type">Storage</a> = &'a mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<h4 id='method.to_glib_none_mut' class="method"><span id='to_glib_none_mut.v' class='invisible'><code>fn <a href='../../glib/translate/trait.ToGlibPtrMut.html#tymethod.to_glib_none_mut' class='fnname'>to_glib_none_mut</a>(&'a mut self) -> <a class="struct" href="../../glib/translate/struct.StashMut.html" title="struct glib::translate::StashMut">StashMut</a><'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>, Self></code></span></h4>
|
||||
<div class='docblock'><p>Transfer: none. <a href="../../glib/translate/trait.ToGlibPtrMut.html#tymethod.to_glib_none_mut">Read more</a></p>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#245-252' title='goto source code'>[src]</a></span></h3>
|
||||
</div></div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#246-253' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from_glib_none' class="method"><span id='from_glib_none.v' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.FromGlibPtrNone.html#tymethod.from_glib_none' class='fnname'>from_glib_none</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*const </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>) -> Self</code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#254-258' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrNone.html" title="trait glib::translate::FromGlibPtrNone">FromGlibPtrNone</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#255-259' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from_glib_none-1' class="method"><span id='from_glib_none.v-1' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.FromGlibPtrNone.html#tymethod.from_glib_none' class='fnname'>from_glib_none</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>) -> Self</code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrFull.html" title="trait glib::translate::FromGlibPtrFull">FromGlibPtrFull</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#260-267' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/translate/trait.FromGlibPtrFull.html" title="trait glib::translate::FromGlibPtrFull">FromGlibPtrFull</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#261-268' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.from_glib_full' class="method"><span id='from_glib_full.v' class='invisible'><code>unsafe fn <a href='../../glib/translate/trait.FromGlibPtrFull.html#tymethod.from_glib_full' class='fnname'>from_glib_full</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="struct" href="../../gobject_sys/struct.GValue.html" title="struct gobject_sys::GValue">GValue</a>) -> Self</code></span></h4>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/value/trait.ToValue.html" title="trait glib::value::ToValue">ToValue</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#431-439' title='goto source code'>[src]</a></span></h3>
|
||||
</div><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="../../glib/value/trait.ToValue.html" title="trait glib::value::ToValue">ToValue</a> for <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#432-440' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.to_value' class="method"><span id='to_value.v' class='invisible'><code>fn <a href='../../glib/value/trait.ToValue.html#tymethod.to_value' class='fnname'>to_value</a>(&self) -> <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a></code></span></h4>
|
||||
<div class='docblock'><p>Returns a <code>Value</code> clone of <code>self</code>.</p>
|
||||
</div><h4 id='method.to_value_type' class="method"><span id='to_value_type.v' class='invisible'><code>fn <a href='../../glib/value/trait.ToValue.html#tymethod.to_value_type' class='fnname'>to_value_type</a>(&self) -> <a class="enum" href="../../glib/types/enum.Type.html" title="enum glib::types::Type">Type</a></code></span></h4>
|
||||
|
@ -48,8 +48,8 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#269' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct ValueArray(_);</pre><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.ValueArray.html" title="struct glib::value::ValueArray">ValueArray</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#271-279' title='goto source code'>[src]</a></span></h3>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#270' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust struct'>pub struct ValueArray(_);</pre><h2 id='implementations'>Trait Implementations</h2><h3 class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="../../glib/value/struct.ValueArray.html" title="struct glib::value::ValueArray">ValueArray</a></code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/glib/value.rs.html#272-280' title='goto source code'>[src]</a></span></h3>
|
||||
<div class='impl-items'><h4 id='method.drop' class="method"><span id='drop.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop' class='fnname'>drop</a>(&mut self)</code></span></h4>
|
||||
<div class='docblock'><p>A method called when the value goes out of scope. <a href="https://doc.rust-lang.org/nightly/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></p>
|
||||
</div></div></section>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#451-453' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#452-454' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FromValue<'a>: <a class="trait" href="../../glib/value/trait.FromValueOptional.html" title="trait glib::value::FromValueOptional">FromValueOptional</a><'a> {
|
||||
unsafe fn <a href='#tymethod.from_value' class='fnname'>from_value</a>(_: &'a <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>) -> Self;
|
||||
}</pre><div class='docblock'><p>Extracts a value.</p>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#444-446' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#445-447' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait FromValueOptional<'a>: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
|
||||
unsafe fn <a href='#tymethod.from_value_optional' class='fnname'>from_value_optional</a>(_: &'a <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self>;
|
||||
}</pre><div class='docblock'><p>Extracts a value.</p>
|
||||
@ -62,6 +62,7 @@
|
||||
<ul class='item-list' id='implementors-list'>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for &'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></li>
|
||||
<li><code>impl<'a, T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> FromValueOptional<'a> for T</code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code></li>
|
||||
<li><code>impl<'a> FromValueOptional<'a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code></li>
|
||||
|
@ -48,7 +48,7 @@
|
||||
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
|
||||
[<span class='inner'>−</span>]
|
||||
</a>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#463-465' title='goto source code'>[src]</a></span></h1>
|
||||
</span><a class='srclink' href='../../src/glib/value.rs.html#464-466' title='goto source code'>[src]</a></span></h1>
|
||||
<pre class='rust trait'>pub trait SetValue: <a class="trait" href="../../glib/types/trait.StaticType.html" title="trait glib::types::StaticType">StaticType</a> {
|
||||
unsafe fn <a href='#tymethod.set_value' class='fnname'>set_value</a>(_: &mut <a class="struct" href="../../glib/value/struct.Value.html" title="struct glib::value::Value">Value</a>, _: &Self);
|
||||
}</pre><div class='docblock'><p>Sets a value.</p>
|
||||
@ -61,6 +61,7 @@
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></li>
|
||||
<li><code>impl<'a, T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="../../glib/value/trait.SetValue.html" title="trait glib::value::SetValue">SetValue</a>> SetValue for &'a T</code></li>
|
||||
<li><code>impl SetValue for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></li>
|
||||
<li><code>impl<T: <a class="trait" href="../../glib/object/trait.IsA.html" title="trait glib::object::IsA">IsA</a><<a class="struct" href="../../glib/object/struct.Object.html" title="struct glib::object::Object">Object</a>>> SetValue for T</code></li>
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></li>
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></code></li>
|
||||
<li><code>impl SetValue for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></code></li>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user