pub trait Step: Send + Debug {
// Required methods
fn apply(&self, anns: &mut AnnotationModel);
fn revert(&self, anns: &mut AnnotationModel);
}Expand description
A reversible edit on the annotation model. Stores enough to apply AND revert.
Required Methods§
fn apply(&self, anns: &mut AnnotationModel)
fn revert(&self, anns: &mut AnnotationModel)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".