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.

Required Associated Types§

Required Methods§

source

unsafe fn try_from_glib(val: G) -> Result<Self, Self::Error>

Object Safety§

This trait is not object safe.

Implementors§