Struct conch_parser::ast::GuardBodyPair
[−]
[src]
pub struct GuardBodyPair<C> {
pub guard: Vec<C>,
pub body: Vec<C>,
}A grouping of guard and body commands.
Fields
guard: Vec<C>
The guard commands, which if successful, should lead to the execution of the body commands.
body: Vec<C>
The body commands to execute if the guard is successful.
Trait Implementations
impl<C: Debug> Debug for GuardBodyPair<C>[src]
impl<C: PartialEq> PartialEq for GuardBodyPair<C>[src]
fn eq(&self, __arg_0: &GuardBodyPair<C>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &GuardBodyPair<C>) -> bool
This method tests for !=.
impl<C: Eq> Eq for GuardBodyPair<C>[src]
impl<C: Clone> Clone for GuardBodyPair<C>[src]
fn clone(&self) -> GuardBodyPair<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