rocket::fairing

Trait AsAny

Source
pub trait AsAny: Any {
    // Required methods
    fn as_any_ref(&self) -> &dyn Any;
    fn as_any_mut(&mut self) -> &mut dyn Any;
}

Required Methods§

Source

fn as_any_ref(&self) -> &dyn Any

Source

fn as_any_mut(&mut self) -> &mut dyn Any

Implementors§

Source§

impl<T: Any> AsAny for T