pub trait MethodMut<T> {
// Required method
fn dispatch(&self, object: &mut T, parameters: &[Parameter]) -> ReturnResult;
}Expand description
Any type that implements the MethodMut trait can be added as a mutable method to an ObjectType
Required Methods§
Sourcefn dispatch(&self, object: &mut T, parameters: &[Parameter]) -> ReturnResult
fn dispatch(&self, object: &mut T, parameters: &[Parameter]) -> ReturnResult
The dispatch method provides the functionality that is execuated when an associated method on an object is called