Skip to main content

execute_command

Function execute_command 

Source
pub fn execute_command(
    bus: &mut CommandBus,
    cmd: Box<dyn Command>,
) -> CommandResult
Expand description

Execute a command and push it onto the undo stack. Clears the redo stack (standard undo/redo semantics).