Trait webkit2gtk_webextension::prelude::WeakValueExt
source · [−]pub trait WeakValueExt: 'static {
fn value(&self) -> Option<Value>;
fn connect_cleared<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Fn(&Self);
}
Expand description
Required Methods
sourcefn connect_cleared<F>(&self, f: F) -> SignalHandlerIdwhere
F: 'static + Fn(&Self),
fn connect_cleared<F>(&self, f: F) -> SignalHandlerIdwhere
F: 'static + Fn(&Self),
This signal is emitted when the JavaScript value is destroyed.