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