pub struct GuardBodyPairGroup<C> {
pub guard: CommandGroup<C>,
pub body: CommandGroup<C>,
}
Expand description
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§
Source§impl<C: Clone> Clone for GuardBodyPairGroup<C>
impl<C: Clone> Clone for GuardBodyPairGroup<C>
Source§fn clone(&self) -> GuardBodyPairGroup<C>
fn clone(&self) -> GuardBodyPairGroup<C>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<C: Debug> Debug for GuardBodyPairGroup<C>
impl<C: Debug> Debug for GuardBodyPairGroup<C>
Source§impl<C: PartialEq> PartialEq for GuardBodyPairGroup<C>
impl<C: PartialEq> PartialEq for GuardBodyPairGroup<C>
impl<C: Eq> Eq for GuardBodyPairGroup<C>
impl<C> StructuralPartialEq for GuardBodyPairGroup<C>
Auto Trait Implementations§
impl<C> Freeze for GuardBodyPairGroup<C>
impl<C> RefUnwindSafe for GuardBodyPairGroup<C>where
C: RefUnwindSafe,
impl<C> Send for GuardBodyPairGroup<C>where
C: Send,
impl<C> Sync for GuardBodyPairGroup<C>where
C: Sync,
impl<C> Unpin for GuardBodyPairGroup<C>where
C: Unpin,
impl<C> UnwindSafe for GuardBodyPairGroup<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more