[][src]Trait swim_mem::resident::ResidentPartialEq

pub trait ResidentPartialEq<L: Lease, T: ?Sized = L>: Resident {
    fn resident_eq(lease: &L, other: &T) -> bool;

    fn resident_ne(lease: &L, other: &T) -> bool { ... }
}

A partially comparable Resident of a raw memory Lease.

Required methods

fn resident_eq(lease: &L, other: &T) -> bool

Returns true if the resident of the lease equals some other value.

Loading content...

Provided methods

fn resident_ne(lease: &L, other: &T) -> bool

Returns false if the resident of the lease equals some other value.

Loading content...

Implementors

impl<L: Lease> ResidentPartialEq<L, L> for Box<L::Data, L::Meta> where
    L::Data: PartialEq
[src]

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

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

Loading content...