[][src]Trait lightproc::proc_state::AsAny

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

Generic dynamic programming construct which allows us to downcast to the typeless level. And do costly conversion between types if possible.

Required methods

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

Downcast implemented type to Any.

Loading content...


impl<T: Any> AsAny for T[src]

Blanket implementation for Any conversion if type is implementing Any.

Loading content...