pub trait Map {
type Entry<T>;
// Required method
fn map<T, U>(
entry: Self::Entry<T>,
map: impl FnOnce(T) -> U,
) -> Self::Entry<U>;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".