Trait HandoffMeta

Source
pub trait HandoffMeta: Any {
    // Required methods
    fn any_ref(&self) -> &dyn Any;
    fn is_bottom(&self) -> bool;
}
Expand description

A handle onto the metadata part of a Handoff, with no element type.

Required Methods§

Source

fn any_ref(&self) -> &dyn Any

Helper to cast an instance of HandoffMeta to Any. In general you cannot cast between traits, including Any, but this helper method works around that limitation.

For implementors: the body of this method will generally just be { self }.

Source

fn is_bottom(&self) -> bool

Return if the handoff is empty.

Implementations on Foreign Types§

Source§

impl<H> HandoffMeta for Rc<RefCell<H>>
where H: HandoffMeta,

Source§

fn any_ref(&self) -> &dyn Any

Source§

fn is_bottom(&self) -> bool

Implementors§