FlatMap

Trait FlatMap 

Source
pub trait FlatMap: ListFn {
    // Provided method
    fn flat_map<F: FlatMapFn<Input = Self::Item>>(
        self,
        flat_map: F,
    ) -> FlatMapList<Self, F> { ... }
}

Provided Methods§

Source

fn flat_map<F: FlatMapFn<Input = Self::Item>>( self, flat_map: F, ) -> FlatMapList<Self, F>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S: ListFn> FlatMap for S