pub trait Callable {
// Required method
fn call(&self, caller: &mut dyn CallBridge) -> Result<Value, CallError>;
}Expand description
Anything that can be invoked through a CallBridge, e.g. a
behavior-tree tick registered as an indirect callable.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".