[][src]Trait swim_mem::resident::ResidentPartialOrd

pub trait ResidentPartialOrd<L: Lease, T: ?Sized = L>: ResidentPartialEq<L, T> {
    fn resident_partial_cmp(lease: &L, other: &T) -> Option<Ordering>;

    fn resident_lt(lease: &L, other: &T) -> bool { ... }
fn resident_le(lease: &L, other: &T) -> bool { ... }
fn resident_ge(lease: &L, other: &T) -> bool { ... }
fn resident_gt(lease: &L, other: &T) -> bool { ... } }

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.

Loading content...

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.

Loading content...

Implementors

impl<L: Lease> ResidentPartialOrd<L, L> for Box<L::Data, L::Meta> where
    L::Data: PartialOrd
[src]

impl<L: Lease<Data = T, Meta = BufHeader<M>>, T: PartialOrd, M> ResidentPartialOrd<L, L> for Buf<T, M>[src]

impl<L: Lease<Data = u8, Meta = BufHeader<M>>, M> ResidentPartialOrd<L, L> for String<M>[src]

Loading content...