Struct conch_parser::ast::CompoundCommand [] [src]

pub struct CompoundCommand<T, R> {
    pub kind: T,
    pub io: Vec<R>,
}

A class of commands where redirection is applied to a command group.

Generic over the representation of a type of compound command, and the representation of a redirect.

Fields

The specific kind of compound command.

Any redirections to be applied to the entire compound command

Trait Implementations

impl<T: Debug, R: Debug> Debug for CompoundCommand<T, R>
[src]

Formats the value using the given formatter.

impl<T: PartialEq, R: PartialEq> PartialEq for CompoundCommand<T, R>
[src]

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

This method tests for !=.

impl<T: Eq, R: Eq> Eq for CompoundCommand<T, R>
[src]

impl<T: Clone, R: Clone> Clone for CompoundCommand<T, R>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more