WeakEventSender
trait · ferroui-base · v0.5.0
trait WeakEventSender: Clone + 'static
A handle to an object that raises an event subscribed to through a
WeakEvent: the managed reference type of the sender.
A WeakEvent identifies a sender by the address of the object the
handle refers to and holds it weakly.
Members
Weak
type Weak: Clone + 'static
The weak form of the handle.
downgrade_sender
fn downgrade_sender(self: &Self) -> <Self as >::Weak
upgrade_sender
fn upgrade_sender(weak: &<Self as >::Weak) -> Option<Self>
sender_address
fn sender_address(self: &Self) -> usize
The address of the object the handle refers to.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.