Compose

Trait Compose 

Source
pub trait Compose<Init> {
    type Output;

    // Required method
    fn compose(self, init: Init) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn compose(self, init: Init) -> Self::Output

Implementations on Foreign Types§

Source§

impl<T1, P1, P2> Compose<P1> for (T1,)
where T1: Fn(P1) -> P2,

Source§

type Output = P2

Source§

fn compose(self, init: P1) -> Self::Output

Source§

impl<T1, P1, T2, P2, P3> Compose<P1> for (T1, T2)
where T1: Fn(P1) -> P2, T2: Fn(P2) -> P3,

Source§

type Output = P3

Source§

fn compose(self, init: P1) -> Self::Output

Source§

impl<T1, P1, T2, P2, T3, P3, P4> Compose<P1> for (T1, T2, T3)
where T1: Fn(P1) -> P2, T2: Fn(P2) -> P3, T3: Fn(P3) -> P4,

Source§

type Output = P4

Source§

fn compose(self, init: P1) -> Self::Output

Source§

impl<T1, P1, T2, P2, T3, P3, T4, P4, P5> Compose<P1> for (T1, T2, T3, T4)
where T1: Fn(P1) -> P2, T2: Fn(P2) -> P3, T3: Fn(P3) -> P4, T4: Fn(P4) -> P5,

Source§

type Output = P5

Source§

fn compose(self, init: P1) -> Self::Output

Implementors§