Address
:
[go:
up one dir
,
main page
]
Include Form
Remove Scripts
Accept Cookies
Show Images
Show Referer
Rotate13
Base64
Strip Meta
Strip Title
Session Cookies
Docs.rs
glib-0.14.8
glib 0.14.8
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
GuillaumeGomez
sdroege
bilelmoussaoui
github:gtk-rs:crates-io
Dependencies
bitflags ^1.0
normal
glib-sys ^0.14.0
normal
futures-channel ^0.3
normal
futures-core ^0.3
normal
futures-executor ^0.3
normal
futures-task ^0.3
normal
glib-macros ^0.14.0
normal
gobject-sys ^0.14.0
normal
libc ^0.2
normal
once_cell ^1.0
normal
log ^0.4
normal
smallvec ^1.0
normal
futures-util ^0.3
dev
tempfile ^3
dev
Versions
44.18%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Trait FromGlib
Required Methods
from_glib
Implementations on Foreign Types
Option<T>
Ordering
Result<Option<T>, I>
bool
Implementors
Other items in
glib
::
translate
?
Trait
glib
::
translate
::
FromGlib
[
−
]
[src]
pub trait FromGlib<G:
Copy
>:
Sized
{ unsafe fn
from_glib
(val: G) -> Self; }
Expand description
Translate a simple type.
Required methods
[src]
unsafe fn
from_glib
(val: G) -> Self
Implementations on Foreign Types
[src]
impl
FromGlib
<
i32
> for
bool
[src]
unsafe fn
from_glib
(val:
gboolean
) -> Self
[src]
impl
FromGlib
<
i32
> for
Ordering
[src]
unsafe fn
from_glib
(val:
i32
) -> Self
[src]
impl<G:
Copy
, T:
TryFromGlib
<G, Error =
GlibNoneError
>>
FromGlib
<G> for
Option
<T>
[src]
unsafe fn
from_glib
(val: G) -> Self
[src]
impl<G:
Copy
, I:
Error
, T:
TryFromGlib
<G, Error =
GlibNoneOrInvalidError
<I>>>
FromGlib
<G> for
Result
<
Option
<T>, I>
[src]
unsafe fn
from_glib
(val: G) -> Self
Implementors
[src]
impl
FromGlib
<
u64
> for
SignalHandlerId
[src]
impl
FromGlib
<
usize
> for
Type