pub trait MapTo<F, U>{
type Cont<_T>;
type Elem;
// Required method
fn mapt(&self, f: F) -> Self::Cont<U>;
}Expand description
MapTo establishes an interface for containers capable of applying a given function onto
each of their elements, by reference.
Required Associated Types§
Required Methods§
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.