Struct brush_parser::ast::SimpleCommand
source · pub struct SimpleCommand {
pub prefix: Option<CommandPrefix>,
pub word_or_name: Option<Word>,
pub suffix: Option<CommandSuffix>,
}Expand description
Represents the invocation of a simple command.
Fields§
§prefix: Option<CommandPrefix>Optionally, a prefix to the command.
word_or_name: Option<Word>The name of the command to execute.
suffix: Option<CommandSuffix>Optionally, a suffix to the command.
Trait Implementations§
source§impl Clone for SimpleCommand
impl Clone for SimpleCommand
source§fn clone(&self) -> SimpleCommand
fn clone(&self) -> SimpleCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SimpleCommand
impl Debug for SimpleCommand
Auto Trait Implementations§
impl Freeze for SimpleCommand
impl RefUnwindSafe for SimpleCommand
impl Send for SimpleCommand
impl Sync for SimpleCommand
impl Unpin for SimpleCommand
impl UnwindSafe for SimpleCommand
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more