Trait rtools::vec::MapVec

source ·
pub trait MapVec<T, U> {
    // Required method
    fn map<F: FnMut(T) -> U>(self, f: F) -> Vec<U>;
}

Required Methods§

source

fn map<F: FnMut(T) -> U>(self, f: F) -> Vec<U>

Implementations on Foreign Types§

source§

impl<T, U> MapVec<T, U> for Vec<T>

source§

fn map<F: FnMut(T) -> U>(self, f: F) -> Vec<U>

Implementors§