Trait Typeable

Source
pub trait Typeable: Any {
    // Provided method
    fn get_type(&self) -> TypeId { ... }
}
Expand description

Universal mixin trait for adding a get_type method.

Provided Methods§

Source

fn get_type(&self) -> TypeId

Get the TypeId of this object.

Implementors§

Source§

impl<T: Any> Typeable for T