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§

source

fn info(&mut self) -> Arc<dyn UndoInfo>

Gets display info about the action that will be redone.

source

fn redo(self: Box<Self>) -> Box<dyn UndoAction>

Redo action and returns a UndoAction that undoes it.

Implementors§