Trait glib::translate::FromGlib
[−]
[src]
pub trait FromGlib<T>: Sized { fn from_glib(val: T) -> Self; }
Translate a simple type.
Required Methods
fn from_glib(val: T) -> Self
Implementors
impl FromGlib<u32> for SourceId
impl FromGlib<i32> for Priority
impl FromGlib<gboolean> for bool
impl FromGlib<u32> for char
impl FromGlib<i32> for Ordering
impl FromGlib<u32> for Option<char>
impl FromGlib<i32> for Option<u32>
impl FromGlib<i64> for Option<u64>
impl FromGlib<i32> for Option<u64>
impl FromGlib<GType> for Type