Trait IsLambda2

Source
pub trait IsLambda2<A, B, C> {
    // Required methods
    fn call(&mut self, a: &A, b: &B) -> C;
    fn deps_op(&self) -> Option<&Vec<Dep>>;
}
Expand description

Interface for a lambda function of two arguments.

Required Methods§

Source

fn call(&mut self, a: &A, b: &B) -> C

Source

fn deps_op(&self) -> Option<&Vec<Dep>>

Implementors§

Source§

impl<A, B, C, FN: FnMut(&A, &B) -> C> IsLambda2<A, B, C> for FN