pub trait MapHomoTuple<T, U>: HomoTuple<T> + Sized {
type Output: HomoTuple<U> + Sized;
// Required method
fn map_homo_tuple(
self,
f: impl Fn(T) -> U,
) -> <Self as MapHomoTuple<T, U>>::Output;
}Expand description
The map adapter for homogeneous tuples
Required Associated Types§
Required Methods§
fn map_homo_tuple( self, f: impl Fn(T) -> U, ) -> <Self as MapHomoTuple<T, U>>::Output
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.