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

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>, 

Loading content...

Provided methods

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

Loading content...

Implementations on Foreign Types

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

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

Loading content...

Implementors

Loading content...