Trait granite::IntoMutIterator[][src]

pub trait IntoMutIterator<'a> {
    type Item: 'a;
    type IterMut: Iterator<Item = &'a mut Self::Item>;
    fn iter_mut(&'a mut self) -> Self::IterMut;
}

Types which have corresponding mutably borrowing iterators.

This is a lot like IntoIterator, but analogous to [Vec]’s .iter_mut() method.

Associated Types

type Item: 'a[src]

The item type over mutable references to which iteration will be performed.

type IterMut: Iterator<Item = &'a mut Self::Item>[src]

The resulting iterator type.

Loading content...

Required methods

fn iter_mut(&'a mut self) -> Self::IterMut[src]

Borrows the value into a by-reference iterator with mutable access.

Loading content...

Implementations on Foreign Types

impl<'a, T: 'a> IntoMutIterator<'a> for Vec<T>[src]

type Item = T

type IterMut = IterMut<'a, T>

impl<'a, T: 'a> IntoMutIterator<'a> for VecDeque<T>[src]

type Item = T

type IterMut = IterMut<'a, T>

impl<'a, A: Array> IntoMutIterator<'a> for ArrayVec<A> where
    A::Item: 'a, 
[src]

type Item = A::Item

type IterMut = IterMut<'a, A::Item>

impl<'a, A: Array> IntoMutIterator<'a> for SmallVec<A> where
    A::Item: 'a, 
[src]

type Item = A::Item

type IterMut = IterMut<'a, A::Item>

impl<'a, A: Array> IntoMutIterator<'a> for TinyVec<A> where
    A::Item: 'a, 
[src]

type Item = A::Item

type IterMut = IterMut<'a, A::Item>

impl<'a, A: Array> IntoMutIterator<'a> for ArrayVec<A> where
    A::Item: 'a, 
[src]

type Item = A::Item

type IterMut = IterMut<'a, A::Item>

impl<'s: 'a, 'a, T> IntoMutIterator<'a> for SliceVec<'s, T>[src]

type Item = T

type IterMut = IterMut<'a, T>

Loading content...

Implementors

impl<'a: 'b, 'b, S: List> IntoMutIterator<'b> for StorageProxyMut<'a, S>[src]

type Item = S::Element

type IterMut = <S as IntoMutIterator<'b>>::IterMut

Loading content...