[src]

Trait std::any::Any

pub trait Any {
    fn get_type_id(&self) -> TypeId;
}

The Any trait is implemented by all types, and can be used as a trait object for dynamic typing

Required Methods

fn get_type_id(&self) -> TypeId

Get the TypeId of self

Implementors