pub struct GuardBodyPair<C> {
pub guard: Vec<C>,
pub body: Vec<C>,
}
Expand description
A grouping of guard and body commands.
Fields§
§guard: Vec<C>
The guard commands, which if successful, should lead to the execution of the body commands.
body: Vec<C>
The body commands to execute if the guard is successful.
Trait Implementations§
Source§impl<C: Clone> Clone for GuardBodyPair<C>
impl<C: Clone> Clone for GuardBodyPair<C>
Source§fn clone(&self) -> GuardBodyPair<C>
fn clone(&self) -> GuardBodyPair<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 GuardBodyPair<C>
impl<C: Debug> Debug for GuardBodyPair<C>
Source§impl<C: PartialEq> PartialEq for GuardBodyPair<C>
impl<C: PartialEq> PartialEq for GuardBodyPair<C>
impl<C: Eq> Eq for GuardBodyPair<C>
impl<C> StructuralPartialEq for GuardBodyPair<C>
Auto Trait Implementations§
impl<C> Freeze for GuardBodyPair<C>
impl<C> RefUnwindSafe for GuardBodyPair<C>where
C: RefUnwindSafe,
impl<C> Send for GuardBodyPair<C>where
C: Send,
impl<C> Sync for GuardBodyPair<C>where
C: Sync,
impl<C> Unpin for GuardBodyPair<C>where
C: Unpin,
impl<C> UnwindSafe for GuardBodyPair<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