[][src]Trait greenie::ctx::ApplyTo

pub trait ApplyTo<F> {
    type Result;
    fn apply_to(self, f: &F) -> Self::Result;
}

Associated Types

type Result

Loading content...

Required methods

fn apply_to(self, f: &F) -> Self::Result

Loading content...

Implementations on Foreign Types

impl<F, R> ApplyTo<F> for () where
    F: Fn() -> R, 
[src]

type Result = R

impl<F, R, A0> ApplyTo<F> for (A0,) where
    F: Fn(A0) -> R, 
[src]

type Result = R

impl<F, R, A0, A1> ApplyTo<F> for (A0, A1) where
    F: Fn(A0, A1) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2> ApplyTo<F> for (A0, A1, A2) where
    F: Fn(A0, A1, A2) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2, A3> ApplyTo<F> for (A0, A1, A2, A3) where
    F: Fn(A0, A1, A2, A3) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2, A3, A4> ApplyTo<F> for (A0, A1, A2, A3, A4) where
    F: Fn(A0, A1, A2, A3, A4) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2, A3, A4, A5> ApplyTo<F> for (A0, A1, A2, A3, A4, A5) where
    F: Fn(A0, A1, A2, A3, A4, A5) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2, A3, A4, A5, A6> ApplyTo<F> for (A0, A1, A2, A3, A4, A5, A6) where
    F: Fn(A0, A1, A2, A3, A4, A5, A6) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2, A3, A4, A5, A6, A7> ApplyTo<F> for (A0, A1, A2, A3, A4, A5, A6, A7) where
    F: Fn(A0, A1, A2, A3, A4, A5, A6, A7) -> R, 
[src]

type Result = R

impl<F, R, A0, A1, A2, A3, A4, A5, A6, A7, A8> ApplyTo<F> for (A0, A1, A2, A3, A4, A5, A6, A7, A8) where
    F: Fn(A0, A1, A2, A3, A4, A5, A6, A7, A8) -> R, 
[src]

type Result = R

Loading content...

Implementors

Loading content...