usestd::any::Any;/// Trait used for casting support into the Any trait object
pubtraitAsAny: Any {/// Converts reference to Any
fnas_any(&self)->&dyn Any;/// converts mutable reference to Any
fnas_mut_any(&mutself)->&mut dyn Any;}/// Blanket implementation that enables any `'static` reference to convert
/// to the `Any` type
impl<T:'static> AsAny forT{fnas_any(&self)->&dyn Any{self}fnas_mut_any(&mutself)->&mut dyn Any{self}}