pub trait EnumUpdate<U> {
// Required method
fn apply(&mut self, update: U);
}Expand description
Implemented on structs that have their updates represented by
some enum U. Implement this trait using the derive
macro EnumUpdate.
pub trait EnumUpdate<U> {
// Required method
fn apply(&mut self, update: U);
}Implemented on structs that have their updates represented by
some enum U. Implement this trait using the derive
macro EnumUpdate.