Struct parsell::impls::Function2 [] [src]

pub struct Function2<F>(_);

Methods

impl<F> Function2<F>
[src]

fn new(f: F) -> Self

Trait Implementations

impl<F: Debug> Debug for Function2<F>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<F: Clone> Clone for Function2<F>
[src]

fn clone(&self) -> Function2<F>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for Function2<F>
[src]

impl<F, S1, S2, T> Function<(S1, S2)> for Function2<F> where F: Fn(S1, S2) -> T
[src]

type Output = T

fn apply(&self, args: (S1, S2)) -> T