Struct core::intrinsics::TypeId[src]

pub struct TypeId {
    // some fields omitted
}

TypeId represents a globally unique identifier for a type

Methods

impl TypeId

fn of<T: 'static>() -> TypeId

Returns the TypeId of the type this generic function has been instantiated with

fn hash(&self) -> u64

Trait Implementations

Derived Implementations

impl Show for TypeId

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for TypeId

impl PartialEq for TypeId

fn eq(&self, __arg_0: &TypeId) -> bool

fn ne(&self, __arg_0: &TypeId) -> bool