Trait Mapper
pub trait Mapper<T> {
type Target;
// Required method
fn map(value: T) -> Self::Target;
}Available on crate features
tuple and tuple-map only.Required Associated Types§
type Target
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.