pub trait BaseControl: Send + Downcast {
// Required methods
fn clone_boxed(&self) -> Box<dyn Control>;
fn type_name(&self) -> &'static str;
fn id(&self) -> Uuid;
fn self_size(&self) -> usize;
}
Expand description
Required Methods§
Sourcefn clone_boxed(&self) -> Box<dyn Control>
fn clone_boxed(&self) -> Box<dyn Control>
Returns the exact copy of the widget in “type-erased” form.