Struct conch_parser::ast::builder::CommandGroup
[−]
[src]
pub struct CommandGroup<C> {
pub commands: Vec<C>,
pub trailing_comments: Vec<Newline>,
}A grouping of a list of commands and any comments trailing after the commands.
Fields
commands: Vec<C>
The sequential list of commands.
trailing_comments: Vec<Newline>
Any trailing comments appearing on the next line after the last command.
Trait Implementations
impl<C: Debug> Debug for CommandGroup<C>[src]
impl<C: PartialEq> PartialEq for CommandGroup<C>[src]
fn eq(&self, __arg_0: &CommandGroup<C>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CommandGroup<C>) -> bool
This method tests for !=.
impl<C: Eq> Eq for CommandGroup<C>[src]
impl<C: Clone> Clone for CommandGroup<C>[src]
fn clone(&self) -> CommandGroup<C>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more