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.