Trait glib::translate::TryFromGlib  
source · pub trait TryFromGlib<G: Copy>: Sized {
    type Error;
    // Required method
    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.