Trait sodium::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