pub trait Map<T>: TupleElements {
type Output: TupleElements<Element = T>;
// Required methods
fn map<F>(self, f: F) -> Self::Output
where F: Fn(Self::Element) -> T;
fn map_mut<F>(self, f: F) -> Self::Output
where F: FnMut(Self::Element) -> T;
}
Required Associated Types§
type Output: TupleElements<Element = T>
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.