Docs.rs
glib-0.15.6
glib 0.15.6
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.15.1
normal
futures-channel ^0.3
normal
futures-core ^0.3
normal
futures-executor ^0.3
normal
futures-task ^0.3
normal
glib-macros ^0.15.1
normal
gobject-sys ^0.15.1
normal
libc ^0.2
normal
once_cell ^1.0
normal
log ^0.4
normal
smallvec ^1.0
normal
thiserror ^1
normal
futures-util ^0.3
dev
gir-format-check ^0.1
dev
tempfile ^3
dev
Versions
47.98%
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
FromGlib
Required Methods
from_glib
Implementations on Foreign Types
Option<T>
Ordering
Result<Option<T>, I>
bool
Implementors
In glib::translate
?
Trait
glib
::
translate
::
FromGlib
source
·
[
−
]
pub trait FromGlib<G:
Copy
>:
Sized
{ unsafe fn
from_glib
(val: G) -> Self; }
Expand description
Translate a simple type.
Required methods
source
unsafe fn
from_glib
(val: G) -> Self
Implementations on Foreign Types
source
impl
FromGlib
<
i32
> for
bool
source
unsafe fn
from_glib
(val:
gboolean
) -> Self
source
impl
FromGlib
<
i32
> for
Ordering
source
unsafe fn
from_glib
(val:
i32
) -> Self
source
impl<G:
Copy
, T:
TryFromGlib
<G, Error =
GlibNoneError
>>
FromGlib
<G> for
Option
<T>
source
unsafe fn
from_glib
(val: G) -> Self
source
impl<G:
Copy
, I:
Error
, T:
TryFromGlib
<G, Error =
GlibNoneOrInvalidError
<I>>>
FromGlib
<G> for
Result
<
Option
<T>, I>
source
unsafe fn
from_glib
(val: G) -> Self
Implementors
source
impl
FromGlib
<
i64
> for
TimeSpan
source
impl
FromGlib
<
u64
> for
SignalHandlerId
source
impl
FromGlib
<
usize
> for
Type