pub trait Callable<A, T> {
type Output;
// Required method
fn call(self, args: A) -> Self::Output;
}
Expand description
A trait to describe any kind of type that can be called.
This trait and the Args
trait are the foundation of the crate. It
provides Callable::call
which is how apply
(and friends) work.