glib::closure

Trait TryFromClosureReturnValue

Source
pub trait TryFromClosureReturnValue:
    StaticType
    + Sized
    + 'static {
    // Required method
    fn try_from_closure_return_value(
        v: Option<Value>,
    ) -> Result<Self, BoolError>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TryFromClosureReturnValue for ()

Implementors§

Source§

impl<T: for<'a> FromValue<'a> + StaticType + 'static> TryFromClosureReturnValue for T