Skip to main content

Mutate

Trait Mutate 

Source
pub trait Mutate {
    // Provided method
    fn mutate<F>(self, f: F) -> Self
       where Self: Sized,
             F: FnOnce(&mut Self) { ... }
}

Provided Methods§

Source

fn mutate<F>(self, f: F) -> Self
where Self: Sized, F: FnOnce(&mut Self),

Implementors§

Source§

impl<T> Mutate for T