Trait map_in_place::MapVecInPlace
[−]
[src]
pub trait MapVecInPlace<A> { fn map<B, F: FnMut(A) -> B>(self, f: F) -> Vec<B>; fn map_in_place<B, F: FnMut(A) -> B>(self, f: F) -> Vec<B>; fn filter_map<B, F: FnMut(A) -> Option<B>>(self, f: F) -> Vec<B>; fn filter_map_in_place<B, F: FnMut(A) -> Option<B>>(self, f: F) -> Vec<B>; }
Required Methods
fn map<B, F: FnMut(A) -> B>(self, f: F) -> Vec<B>
fn map_in_place<B, F: FnMut(A) -> B>(self, f: F) -> Vec<B>
fn filter_map<B, F: FnMut(A) -> Option<B>>(self, f: F) -> Vec<B>
fn filter_map_in_place<B, F: FnMut(A) -> Option<B>>(self, f: F) -> Vec<B>
Implementors
impl<A> MapVecInPlace<A> for Vec<A>