Operations on managed box types
RC_IMMORTAL
RC_MANAGED_UNIQUE
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>
of TotalOrd for @T where <T: TotalOrd>
of TotalOrd for @mut T where <T: TotalOrd>
of TotalEq for @T where <T: TotalEq>
of TotalEq for @mut T where <T: TotalEq>
mut_ptr_eq
- Determine if two mutable shared boxes point to the same objectptr_eq
- Determine if two shared boxes point to the same objectRC_IMMORTAL
uint
RC_MANAGED_UNIQUE
uint
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
TotalOrd
for @T
where <T: TotalOrd>
cmp
fn cmp(&self, other: &@T) -> Ordering
TotalOrd
for @mut T
where <T: TotalOrd>
cmp
fn cmp(&self, other: &@mut T) -> Ordering
TotalEq
for @T
where <T: TotalEq>
equals
fn equals(&self, other: &@T) -> bool
TotalEq
for @mut T
where <T: TotalEq>
equals
fn equals(&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