Struct conch_runtime::spawn::GuardBodyPair
[−]
[src]
pub struct GuardBodyPair<T> { pub guard: T, pub body: T, }
A grouping of guard and body commands.
Fields
guard: T
The guard commands, which if successful, should lead to the execution of the body commands.
body: T
The body commands to execute if the guard is successful.
Trait Implementations
impl<T> From<GuardBodyPair<T>> for GuardBodyPair<Vec<T>>
[src]
fn from(guard_body_pair: GuardBodyPair<T>) -> Self
[src]
Performs the conversion.
impl<T: Debug> Debug for GuardBodyPair<T>
[src]
impl<T: PartialEq> PartialEq for GuardBodyPair<T>
[src]
fn eq(&self, __arg_0: &GuardBodyPair<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GuardBodyPair<T>) -> bool
[src]
This method tests for !=
.
impl<T: Eq> Eq for GuardBodyPair<T>
[src]
impl<T: Clone> Clone for GuardBodyPair<T>
[src]
fn clone(&self) -> GuardBodyPair<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more