Map4

Trait Map4 

Source
pub trait Map4<T1, T2, T3, T4> {
    type Input<S1, S2, S3, S4>;

    // Required method
    fn map<S1, S2, S3, S4>(
        value: Self::Input<S1, S2, S3, S4>,
        f1: fn(S1) -> T1,
        f2: fn(S2) -> T2,
        f3: fn(S3) -> T3,
        f4: fn(S4) -> T4,
    ) -> Self;
}

Required Associated Types§

Source

type Input<S1, S2, S3, S4>

Required Methods§

Source

fn map<S1, S2, S3, S4>( value: Self::Input<S1, S2, S3, S4>, f1: fn(S1) -> T1, f2: fn(S2) -> T2, f3: fn(S3) -> T3, f4: fn(S4) -> T4, ) -> Self

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.

Implementors§