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

The guard commands, which if successful, should lead to the execution of the body commands.

The body commands to execute if the guard is successful.

Trait Implementations

impl<C: Debug> Debug for GuardBodyPairGroup<C>
[src]

Formats the value using the given formatter.

impl<C: PartialEq> PartialEq for GuardBodyPairGroup<C>
[src]

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

This method tests for !=.

impl<C: Eq> Eq for GuardBodyPairGroup<C>
[src]

impl<C: Clone> Clone for GuardBodyPairGroup<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more