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
patterns: W
Pattern alternatives to match against.
body: C
The body commands to execute if the pattern matches.
Trait Implementations
impl<W: Debug, C: Debug> Debug for PatternBodyPair<W, C>[src]
impl<W: Debug, C: Debug> Debug for PatternBodyPair<W, C>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<W: PartialEq, C: PartialEq> PartialEq for PatternBodyPair<W, C>[src]
impl<W: PartialEq, C: PartialEq> PartialEq for PatternBodyPair<W, C>fn eq(&self, other: &PatternBodyPair<W, C>) -> bool[src]
fn eq(&self, other: &PatternBodyPair<W, C>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PatternBodyPair<W, C>) -> bool[src]
fn ne(&self, other: &PatternBodyPair<W, C>) -> boolThis method tests for !=.
impl<W: Eq, C: Eq> Eq for PatternBodyPair<W, C>[src]
impl<W: Eq, C: Eq> Eq for PatternBodyPair<W, C>impl<W: Clone, C: Clone> Clone for PatternBodyPair<W, C>[src]
impl<W: Clone, C: Clone> Clone for PatternBodyPair<W, C>fn clone(&self) -> PatternBodyPair<W, C>[src]
fn clone(&self) -> PatternBodyPair<W, C>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)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]
impl<W, C> From<PatternBodyPair<W, C>> for PatternBodyPair<Vec<W>, Vec<C>>fn from(ast: PatternBodyPair<W, C>) -> Self[src]
fn from(ast: PatternBodyPair<W, C>) -> SelfPerforms the conversion.
Auto Trait Implementations
impl<W, C> Send for PatternBodyPair<W, C> where
C: Send,
W: Send,
impl<W, C> Send for PatternBodyPair<W, C> where
C: Send,
W: Send, impl<W, C> Sync for PatternBodyPair<W, C> where
C: Sync,
W: Sync,
impl<W, C> Sync for PatternBodyPair<W, C> where
C: Sync,
W: Sync,