Operations on managed box types
of Eq for @T where <T: Eq>
of Eq for @mut T where <T: Eq>
of Ord for @T where <T: Ord>
of Ord for @mut T where <T: Ord>
mut_ptr_eq
- Determine if two mutable shared boxes point to the same objectptr_eq
- Determine if two shared boxes point to the same objectmanaged::raw
Eq
for @T
where <T: Eq>
eq
fn eq(&self, other: &@T) -> bool
ne
fn ne(&self, other: &@T) -> bool
Eq
for @mut T
where <T: Eq>
eq
fn eq(&self, other: &@mut T) -> bool
ne
fn ne(&self, other: &@mut T) -> bool
Ord
for @T
where <T: Ord>
lt
fn lt(&self, other: &@T) -> bool
le
fn le(&self, other: &@T) -> bool
ge
fn ge(&self, other: &@T) -> bool
gt
fn gt(&self, other: &@T) -> bool
Ord
for @mut T
where <T: Ord>
lt
fn lt(&self, other: &@mut T) -> bool
le
fn le(&self, other: &@mut T) -> bool
ge
fn ge(&self, other: &@mut T) -> bool
gt
fn gt(&self, other: &@mut T) -> bool
mut_ptr_eq
fn mut_ptr_eq<T>(a: @mut T, b: @mut T) -> bool
Determine if two mutable shared boxes point to the same object
ptr_eq
fn ptr_eq<T>(a: @T, b: @T) -> bool
Determine if two shared boxes point to the same object