Trait roopes::prelude::Command

source ·
pub trait Command {
    // Required method
    fn execute(&self);
}
Expand description

Encapsulates a repeatedly callable block of code.

Required Methods§

source

fn execute(&self)

Calls the encapsulated block of code.

Implementors§

source§

impl Command for Heap

source§

impl<C> Command for ExecutableCommand<C>where C: Command,

source§

impl<C> Command for ObservingCommand<C>where C: Command,

source§

impl<D, H> Command for Hashable<D, H>where D: Command, H: Hash + Eq,

source§

impl<E> Command for CommandExecutable<E>where E: Executable,