Trait IsLambda1

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

Interface for a lambda function of one argument.

Required Methods§

Source

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

Source

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

Implementors§

Source§

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