Trait rocket::fairing::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