Struct sized_chunks::sparse_chunk::OptionIterMut[][src]

pub struct OptionIterMut<'a, A, N: Bits + ChunkLength<A>> { /* fields omitted */ }

An iterator over Options of mutable references to the elements of a SparseChunk.

Iterates over every index in the SparseChunk, from zero to its full capacity, returning an Option<&mut A> for each index.

Trait Implementations

impl<'a, A, N: Bits + ChunkLength<A>> Iterator for OptionIterMut<'a, A, N>[src]

type Item = Option<&'a mut A>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, A, N> RefUnwindSafe for OptionIterMut<'a, A, N> where
    <N as ChunkLength<A>>::SizedType: RefUnwindSafe,
    <N as Bits>::Store: RefUnwindSafe

impl<'a, A, N> Send for OptionIterMut<'a, A, N> where
    <N as ChunkLength<A>>::SizedType: Send,
    <N as Bits>::Store: Send

impl<'a, A, N> Sync for OptionIterMut<'a, A, N> where
    <N as ChunkLength<A>>::SizedType: Sync,
    <N as Bits>::Store: Sync

impl<'a, A, N> Unpin for OptionIterMut<'a, A, N>

impl<'a, A, N> !UnwindSafe for OptionIterMut<'a, A, N>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.