pub trait FlatMap: ListFn {
// Provided method
fn flat_map<F: FlatMapFn<Input = Self::Item>>(
self,
flat_map: F,
) -> FlatMapList<Self, F> { ... }
}Provided Methods§
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.