pub trait MapInPlace<T>: Sized {
fn flat_map_in_place<F, I>(&mut self, f: F)
where
F: FnMut(T) -> I,
I: IntoIterator<Item = T>;
fn map_in_place<F>(&mut self, f: F)
where
F: FnMut(T) -> T,
{ ... }
}
Required Methods
sourcefn flat_map_in_place<F, I>(&mut self, f: F)where
fn flat_map_in_place<F, I>(&mut self, f: F)where
F: FnMut(T) -> I,
I: IntoIterator<Item = T>,
Provided Methods
sourcefn map_in_place<F>(&mut self, f: F)where