Skip to main content

CommandErase

Trait CommandErase 

Source
pub trait CommandErase: Command {
    // Required method
    fn erase(self) -> Box<dyn Command>;
}
Expand description

Erases a command into the world’s command storage.

Required Methods§

Source

fn erase(self) -> Box<dyn Command>

Erase the command.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§