glib::translate

Trait IntoGlib

Source
pub trait IntoGlib {
    type GlibType: Copy;

    // Required method
    fn into_glib(self) -> Self::GlibType;
}
Expand description

Translate a simple type.

Required Associated Types§

Required Methods§

Source

fn into_glib(self) -> Self::GlibType

Implementations on Foreign Types§

Source§

impl IntoGlib for Ordering

Source§

impl IntoGlib for Option<char>

Source§

impl IntoGlib for bool

Source§

impl IntoGlib for char

Source§

impl<O, E, G> IntoGlib for Result<O, E>
where G: Copy, O: IntoGlib<GlibType = G> + TryFromGlib<G, Error = E>, E: IntoGlib<GlibType = G>,

Source§

type GlibType = G

Source§

fn into_glib(self) -> Self::GlibType

Source§

impl<T: OptionIntoGlib> IntoGlib for Option<T>

Implementors§