[][src]Trait glib::translate::ToGlib

pub trait ToGlib {
    type GlibType;
    fn to_glib(&self) -> Self::GlibType;
}

Translate a simple type.

Associated Types

type GlibType

Loading content...

Required methods

fn to_glib(&self) -> Self::GlibType

Loading content...

Implementations on Foreign Types

impl ToGlib for bool[src]

type GlibType = gboolean

impl ToGlib for char[src]

type GlibType = u32

impl ToGlib for Option<char>[src]

type GlibType = u32

impl ToGlib for Ordering[src]

type GlibType = i32

Loading content...

Implementors

impl ToGlib for Type[src]

type GlibType = GType

impl ToGlib for SignalHandlerId[src]

type GlibType = c_ulong

impl<T> ToGlib for InitializingType<T>[src]

type GlibType = GType

Loading content...