[src]

Struct std::intrinsics::TypeId

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

Trait Implementations

Derived Implementations

impl TotalEq for TypeId

fn assert_receiver_is_total_eq(&self)

impl Show for TypeId

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

Formats the value using the given formatter.

impl<__S: Writer> Hash<__S> for TypeId

fn hash(&self, __arg_0: &mut __S)

Compute a hash of the value.

impl Eq for TypeId

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

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