pub trait Updatable<E: Copy + Debug> {
// Required method
fn update(&mut self) -> NothingOrError<E>;
}Expand description
Something with an update method. Mostly for subtraiting.
Required Methods§
Sourcefn update(&mut self) -> NothingOrError<E>
fn update(&mut self) -> NothingOrError<E>
As this trait is very generic, exactly what this does will be very dependent on the implementor.