Trait brush_core::builtins::DeclarationCommand

source ·
pub trait DeclarationCommand: Command {
    // Required method
    fn set_declarations(&mut self, declarations: Vec<CommandArg>);
}
Expand description

Trait implemented by built-in shell commands that take specially handled declarations as arguments.

Required Methods§

source

fn set_declarations(&mut self, declarations: Vec<CommandArg>)

Stores the declarations within the command instance.

§Arguments
  • declarations - The declarations to store.

Object Safety§

This trait is not object safe.

Implementors§