pub trait Action<T> {
type Result;
// Required method
fn action(&mut self, val: T) -> Self::Result;
}
Expand description
Represents an action on objects.
pub trait Action<T> {
type Result;
// Required method
fn action(&mut self, val: T) -> Self::Result;
}
Represents an action on objects.