Trait zng_ext_undo::UndoSelect
source · pub trait UndoSelect {
// Required method
fn include(&mut self, timestamp: DInstant) -> bool;
}
Expand description
Selects actions to undo or redo.
Required Methods§
sourcefn include(&mut self, timestamp: DInstant) -> bool
fn include(&mut self, timestamp: DInstant) -> bool
Called for each undo or redo action from the last item in the stack and back.
The timestamp
is the moment the item was pushed in the undo stack, if this
function is called for UndoOp::Redo
it will not be more recent than the next action.