Trait glib::translate::TryFromGlib[][src]

pub trait TryFromGlib<G: Copy>: Sized {
    type Error;
    unsafe fn try_from_glib(val: G) -> Result<Self, Self::Error>;
}
Expand description

Translate from a Glib type which can result in an undefined and/or invalid value.

Associated Types

Required methods

Implementors