pub trait AsAny {
// Required methods
fn as_any(&self) -> &dyn Any;
fn as_mut_any(&mut self) -> &mut dyn Any;
}Expand description
Trait that helps in upcasting an object to Any
Required Methods§
Sourcefn as_mut_any(&mut self) -> &mut dyn Any
fn as_mut_any(&mut self) -> &mut dyn Any
Return the mutable encapsulated any object.