[−][src]Trait swim_mem::resident::ResidentPartialOrd
A partially ordered Resident
of a raw memory Lease
.
Required methods
fn resident_partial_cmp(lease: &L, other: &T) -> Option<Ordering>
Returns the ordering of the resident of the lease
relative to some other
value, if comparable.
Provided methods
fn resident_lt(lease: &L, other: &T) -> bool
Returns true
if the resident of the lease
orders before some other
value.
fn resident_le(lease: &L, other: &T) -> bool
Returns true
if the resident of the lease
orders before or the same as some other
value.
fn resident_ge(lease: &L, other: &T) -> bool
Returns true
if the resident of the lease
orders the same as or after some other
value.
fn resident_gt(lease: &L, other: &T) -> bool
Returns true
if the resident of the lease
orders after some other
value.
Implementors
impl<L: Lease> ResidentPartialOrd<L, L> for Box<L::Data, L::Meta> where
L::Data: PartialOrd,
[src]
L::Data: PartialOrd,