Struct conch_runtime::spawn::PatternBodyPair [] [src]

pub struct PatternBodyPair<W, C> {
    pub patterns: W,
    pub body: C,
}

A grouping of patterns and body commands.

Fields

Pattern alternatives to match against.

The body commands to execute if the pattern matches.

Trait Implementations

impl<W: Debug, C: Debug> Debug for PatternBodyPair<W, C>
[src]

[src]

Formats the value using the given formatter.

impl<W: PartialEq, C: PartialEq> PartialEq for PatternBodyPair<W, C>
[src]

[src]

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

[src]

This method tests for !=.

impl<W: Eq, C: Eq> Eq for PatternBodyPair<W, C>
[src]

impl<W: Clone, C: Clone> Clone for PatternBodyPair<W, C>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<W, C> From<PatternBodyPair<W, C>> for PatternBodyPair<Vec<W>, Vec<C>>
[src]

[src]

Performs the conversion.