Trait zng_ext_undo::RedoAction
source · pub trait RedoAction: Send + Any {
// Required methods
fn info(&mut self) -> Arc<dyn UndoInfo>;
fn redo(self: Box<Self>) -> Box<dyn UndoAction>;
}
Expand description
Represents a single redo action.
Required Methods§
sourcefn info(&mut self) -> Arc<dyn UndoInfo>
fn info(&mut self) -> Arc<dyn UndoInfo>
Gets display info about the action that will be redone.
sourcefn redo(self: Box<Self>) -> Box<dyn UndoAction>
fn redo(self: Box<Self>) -> Box<dyn UndoAction>
Redo action and returns a UndoAction
that undoes it.