pub trait BinaryFunction<Arg0, Arg1> {
type Output;
// Required method
fn exec(&self, arg0: Arg0, arg1: Arg1) -> Self::Output;
}Expand description
Implementable binary Fn.
Closures and binary fns implement it.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".