pub trait MapWith: Map + MapInternWith {
// Required method
fn map_with<R, Item2, F>(
self,
other: Self::WithType<Item2>,
f: F,
) -> Self::WithType<R>
where F: FnMut(Self::Item, Item2) -> R;
}Expand description
Elementwise mapping of two containers with possibly different item 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.