Function try_from_glib
pub unsafe fn try_from_glib<G, T>(
val: G,
) -> Result<T, <T as TryFromGlib<G>>::Error>where
G: Copy,
T: TryFromGlib<G>,Expand description
Translate from a Glib type which can result in an undefined and/or invalid value.