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
first: T
The first command that always runs.
rest: Vec<AndOr<T>>
The remainder of the conditional commands which may or may not run.
Trait Implementations
impl<T: Debug> Debug for AndOrList<T>[src]
impl<T: PartialEq> PartialEq for AndOrList<T>[src]
fn eq(&self, __arg_0: &AndOrList<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AndOrList<T>) -> bool
This method tests for !=.
impl<T: Eq> Eq for AndOrList<T>[src]
impl<T: Clone> Clone for AndOrList<T>[src]
fn clone(&self) -> AndOrList<T>
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