Trait std::any::Any [] [src]

pub trait Any: 'static + Reflect {
    fn get_type_id(&self) -> TypeId;
}

A type to emulate dynamic typing.

Every type with no non-'static references implements Any. See the module-level documentation for more details.

Required Methods

fn get_type_id(&self) -> TypeId

Unstable (get_type_id #27745)

: this method will likely be replaced by an associated static

Gets the TypeId of self.

Implementors