rustc_data_structures::flat_map_in_place

Trait FlatMapInPlace

source
pub trait FlatMapInPlace<T>: Sized {
    // Required method
    fn flat_map_in_place<F, I>(&mut self, f: F)
       where F: FnMut(T) -> I,
             I: IntoIterator<Item = T>;
}

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> FlatMapInPlace<T> for Vec<T>

source§

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

source§

impl<T> FlatMapInPlace<T> for ThinVec<T>

source§

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

source§

impl<T, A: Array<Item = T>> FlatMapInPlace<T> for SmallVec<A>

source§

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

Implementors§