[][src]Trait entity::prelude::AsAny

pub trait AsAny: Any {
    pub fn as_any(&self) -> &dyn Any;
pub fn as_mut_any(&mut self) -> &mut dyn Any; }

Trait used for casting support into the Any trait object

Required methods

pub fn as_any(&self) -> &dyn Any[src]

Converts reference to Any

pub fn as_mut_any(&mut self) -> &mut dyn Any[src]

converts mutable reference to Any

Loading content...

Implementors

impl<T: 'static> AsAny for T[src]

Blanket implementation that enables any 'static reference to convert to the Any type

Loading content...