Trait TupleMap
pub trait TupleMap<M>: Tuple {
type Target: Tuple;
// Required method
fn map(self) -> Self::Target;
}Available on crate features
tuple and tuple-map only.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.
Implementations on Foreign Types§
§impl<M, T> TupleMap<M> for (T₁, T₂, …, Tₙ)where
M: Mapper<T>,
This trait is implemented for tuples up to 21 items long
impl<M, T> TupleMap<M> for (T₁, T₂, …, Tₙ)where
M: Mapper<T>,
This trait is implemented for tuples up to 21 items long