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