pub trait ICommand {
// Required methods
fn execute(&self, receiver: &mut CommandTextObject);
fn to_string(&self) -> String;
}
Expand description
Represents a general command that does something.
Required Methods§
sourcefn execute(&self, receiver: &mut CommandTextObject)
fn execute(&self, receiver: &mut CommandTextObject)
Execute the command on the given CommandTextObject.