Struct std::intrinsics::TypeIdExperimental [-]  [+] [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

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

fn hash(&self, state: &mut S)

Derived Implementations

impl Show for TypeId

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

impl Eq for TypeId

fn assert_receiver_is_total_eq(&self)

impl PartialEq<TypeId> for TypeId

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

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

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

impl Copy for TypeId

impl Clone for TypeId

fn clone(&self) -> TypeId

fn clone_from(&mut self, &TypeId)