[][src]Trait swim_mem::resident::ResidentAsMut

pub trait ResidentAsMut<L: Lease, T: ?Sized>: Resident {
    fn resident_as_mut(lease: &mut L) -> &mut T;
}

A mutably referenceable Resident of a raw memory Lease.

Required methods

fn resident_as_mut(lease: &mut L) -> &mut T

Returns the resident of the lease as a mutable reference to type T.

Loading content...

Implementors

impl<L: Lease> ResidentAsMut<L, <L as Lease>::Data> for Box<L::Data, L::Meta>[src]

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

Loading content...