TupleMap6

Trait TupleMap6 

Source
pub trait TupleMap6<T, U> {
    type Output;

    // Required method
    fn map_6<Func>(self, f: Func) -> Self::Output
       where Func: FnOnce(T) -> U;
}
Expand description

Allows to map the sixth element of a tuple to another type.

Required Associated Types§

Required Methods§

Source

fn map_6<Func>(self, f: Func) -> Self::Output
where Func: FnOnce(T) -> U,

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§

Source§

impl<A, B, C, D, E, G, H, T, U> TupleMap6<T, U> for (A, B, C, D, E, T, G, H)

Source§

type Output = (A, B, C, D, E, U, G, H)

Source§

fn map_6<Func>(self, f: Func) -> Self::Output
where Func: FnOnce(T) -> U,

Source§

impl<A, B, C, D, E, G, T, U> TupleMap6<T, U> for (A, B, C, D, E, T, G)

Source§

type Output = (A, B, C, D, E, U, G)

Source§

fn map_6<Func>(self, f: Func) -> Self::Output
where Func: FnOnce(T) -> U,

Source§

impl<A, B, C, D, E, T, U> TupleMap6<T, U> for (A, B, C, D, E, T)

Source§

type Output = (A, B, C, D, E, U)

Source§

fn map_6<Func>(self, f: Func) -> Self::Output
where Func: FnOnce(T) -> U,

Implementors§