[][src]Trait veho::matrix::Mutaters

pub trait Mutaters<'a, R>: IntoIterator<Item = &'a mut R, IntoIter = IterMut<'a, R>> where
    R: IntoIterator + 'a, 
{ pub fn mutate<F>(self, f: F)
    where
        Self: IntoIterator<Item = &'a mut R, IntoIter = IterMut<'a, R>> + Sized,
        Self::Item: IntoIterator<Item = &'a mut R::Item, IntoIter = IterMut<'a, R::Item>> + Sized,
        F: FnMut(&mut R::Item)
, { ... }
pub fn indexed_mutate<F>(self, f: F)
    where
        Self: IntoIterator<Item = &'a mut R, IntoIter = IterMut<'a, R>> + Sized,
        Self::Item: IntoIterator<Item = &'a mut R::Item, IntoIter = IterMut<'a, R::Item>> + Sized,
        F: FnMut(usize, usize, &mut R::Item)
, { ... } }

Provided methods

pub fn mutate<F>(self, f: F) where
    Self: IntoIterator<Item = &'a mut R, IntoIter = IterMut<'a, R>> + Sized,
    Self::Item: IntoIterator<Item = &'a mut R::Item, IntoIter = IterMut<'a, R::Item>> + Sized,
    F: FnMut(&mut R::Item), 
[src]

pub fn indexed_mutate<F>(self, f: F) where
    Self: IntoIterator<Item = &'a mut R, IntoIter = IterMut<'a, R>> + Sized,
    Self::Item: IntoIterator<Item = &'a mut R::Item, IntoIter = IterMut<'a, R::Item>> + Sized,
    F: FnMut(usize, usize, &mut R::Item), 
[src]

Loading content...

Implementors

impl<'a, R, M: ?Sized> Mutaters<'a, R> for M where
    R: IntoIterator + 'a,
    M: IntoIterator<Item = &'a mut R, IntoIter = IterMut<'a, R>>,
    M::Item: IntoIterator<Item = &'a mut R::Item, IntoIter = IterMut<'a, R::Item>>, 
[src]

Loading content...