TypeInfo

Trait TypeInfo 

Source
pub trait TypeInfo: Any + Sync {
    // Required method
    fn as_any(&self) -> &(dyn Any + Sync);
}
Expand description

Information that describes a type registered in a registry.

Required Methods§

Source

fn as_any(&self) -> &(dyn Any + Sync)

Implementors§

Source§

impl<T: Any + Sync> TypeInfo for T