[][src]Trait swim_mem::resident::ResidentIntoMutIterator

pub trait ResidentIntoMutIterator<'a, L: Lease>: Resident {
    type Item;
    type IntoIter: Iterator<Item = Self::Item>;
    fn resident_into_iter(lease: &'a mut L) -> Self::IntoIter;
}
[]

A mutably iterable Resident of a raw memory Lease.

Associated Types

The type of element to iterator over.

The type of iterator to return.

Required methods

Returns a new Iterator that consumes the elements of the lease.

Implementors

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

type Item = &'a mut T

type IntoIter = IterMut<'a, T>