Struct conch_parser::ast::AndOrList [] [src]

pub struct AndOrList<T> {
    pub first: T,
    pub rest: Vec<AndOr<T>>,
}

A nonempty list of AndOr commands, e.g. foo && bar || baz.

Fields

The first command that always runs.

The remainder of the conditional commands which may or may not run.

Trait Implementations

impl<T: Debug> Debug for AndOrList<T>
[src]

Formats the value using the given formatter.

impl<T: PartialEq> PartialEq for AndOrList<T>
[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> Eq for AndOrList<T>
[src]

impl<T: Clone> Clone for AndOrList<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more