Trait glib::translate::TryFromGlib
source · [−]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.
Required Associated Types
Required Methods
source