ApplyMut

Trait ApplyMut 

Source
pub trait ApplyMut<Rhs> {
    // Required method
    fn apply_mut(&mut self, rhs: Rhs);
}
Expand description

ApplyMut provides an interface for mutable containers that can apply a function onto their elements, modifying them in place.

Required Methods§

Source

fn apply_mut(&mut self, rhs: Rhs)

Implementations on Foreign Types§

Source§

impl<A, S, D, F> ApplyMut<F> for ArrayBase<S, D, A>
where A: Clone, D: Dimension, S: DataMut<Elem = A>, F: FnMut(A) -> A,

Source§

fn apply_mut(&mut self, f: F)

Implementors§