pub trait MapInto<F, U>{
type Cont<_T>;
type Elem;
// Required method
fn mapi(self, f: F) -> Self::Cont<U>;
}Expand description
MapInto defines an interface for containers that can consume themselves to apply a given
function onto each of their elements.
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.