Trait WeakValueExt

Source
pub trait WeakValueExt: 'static {
    // Required methods
    fn value(&self) -> Option<Value>;
    fn connect_cleared<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
}

Required Methods§

Source

fn value(&self) -> Option<Value>

Source

fn connect_cleared<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

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.

Implementors§