Trait zng_app::widget::builder::AnyArcWidgetHandler

source ·
pub trait AnyArcWidgetHandler: Any {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn into_any(self: Box<Self>) -> Box<dyn Any>;
    fn clone_boxed(&self) -> Box<dyn AnyArcWidgetHandler>;
}
Expand description

Represents a type erased ArcWidgetHandler<A>.

Required Methods§

source

fn as_any(&self) -> &dyn Any

Access to dyn Any methods.

source

fn into_any(self: Box<Self>) -> Box<dyn Any>

Access to Box<dyn Any> methods.

source

fn clone_boxed(&self) -> Box<dyn AnyArcWidgetHandler>

Clone the handler reference.

Implementors§