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

The sequential list of commands.

Any trailing comments appearing on the next line after the last command.

Trait Implementations

impl<C: Debug> Debug for CommandGroup<C>
[src]

Formats the value using the given formatter.

impl<C: PartialEq> PartialEq for CommandGroup<C>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<C: Eq> Eq for CommandGroup<C>
[src]

impl<C: Clone> Clone for CommandGroup<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more