Trait fyrox_ui::BaseControl
source · pub trait BaseControl: 'static {
// Required methods
fn as_any(&self) -> &dyn Any;
fn as_any_mut(&mut self) -> &mut dyn Any;
fn clone_boxed(&self) -> Box<dyn Control>;
fn type_name(&self) -> &'static str;
}
Expand description
Required Methods§
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
Returns self
as &mut dyn Any
.
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.