pub trait CallableVerb<H, T>: Clone + 'static {
// Required method
fn call(&self, harness: &mut H, node: &T) -> Result<()>;
}Expand description
Closure/functions that can be used as a Verb
This trait is implemented for closures with up to 16 arguments. They all have to be VerbArguments.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.