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§