Trait naan::fun::F2

source ·
pub trait F2<A, B>: F2Once<A, B> {
    // Required method
    fn call(&self, a: A, b: B) -> Self::Ret;
}
Expand description

A function that accepts 2 arguments and can be called any number of times.

Required Methods§

source

fn call(&self, a: A, b: B) -> Self::Ret

Call the function with all arguments

Implementors§

source§

impl<F, A, B, C> F2<A, B> for Fwhere F: Fn(A, B) -> C,