Borrowed pointer utilities
of Eq for &'self T where <'self, T: Eq>
of Ord for &'self T where <'self, T: Ord>
ref_eq
- Determine if two borrowed pointers point to the same thing.to_uint
- Cast a region pointer - &T - to a uint.Eq
for &'self T
where <'self, T: Eq>
eq
fn eq(&self, other: &&'self T) -> bool
ne
fn ne(&self, other: &&'self T) -> bool
Ord
for &'self T
where <'self, T: Ord>
lt
fn lt(&self, other: &&'self T) -> bool
le
fn le(&self, other: &&'self T) -> bool
ge
fn ge(&self, other: &&'self T) -> bool
gt
fn gt(&self, other: &&'self T) -> bool
ref_eq
fn ref_eq<'a, 'b, T>(thing: &'a T, other: &'b T) -> bool
Determine if two borrowed pointers point to the same thing.
to_uint
fn to_uint<T>(thing: &T) -> uint
Cast a region pointer - &T - to a uint.