Trait rustc_ap_rustc_data_structures::map_in_place::MapInPlace[][src]

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

fn flat_map_in_place<F, I>(&mut self, f: F) where
    F: FnMut(T) -> I,
    I: IntoIterator<Item = T>, 
[src]

Provided methods

fn map_in_place<F>(&mut self, f: F) where
    F: FnMut(T) -> T, 
[src]

Implementations on Foreign Types

impl<T> MapInPlace<T> for Vec<T>[src]

fn flat_map_in_place<F, I>(&mut self, f: F) where
    F: FnMut(T) -> I,
    I: IntoIterator<Item = T>, 
[src]

impl<T, A: Array<Item = T>> MapInPlace<T> for SmallVec<A>[src]

fn flat_map_in_place<F, I>(&mut self, f: F) where
    F: FnMut(T) -> I,
    I: IntoIterator<Item = T>, 
[src]

Implementors