Trait IntoGlib
Other items inglib::translate
pub trait IntoGlib { type GlibType: Copy; fn into_glib(self) -> Self::GlibType; }
Translate a simple type.
type GlibType: Copy
fn into_glib(self) -> Self::GlibType
impl IntoGlib for bool
type GlibType = gboolean
fn into_glib(self) -> gboolean
impl IntoGlib for char
type GlibType = u32
fn into_glib(self) -> u32
impl IntoGlib for Option<char>
impl IntoGlib for Ordering
type GlibType = i32
fn into_glib(self) -> i32
impl<O, E, G> IntoGlib for Result<O, E> where G: Copy, O: IntoGlib<GlibType = G> + TryFromGlib<G, Error = E>, E: IntoGlib<GlibType = G>,
type GlibType = G
impl<T: OptionIntoGlib> IntoGlib for Option<T>
type GlibType = T::GlibType
impl IntoGlib for Type
impl<T> IntoGlib for InitializingType<T>