pub struct TransitionDefinition<S>where
S: MachineState,{
pub sources: &'static [S],
pub target: S,
pub guards: &'static [&'static str],
pub unless: &'static [&'static str],
pub before: &'static [&'static str],
pub after: &'static [&'static str],
pub around: &'static [&'static str],
}Fields§
§sources: &'static [S]§target: S§guards: &'static [&'static str]§unless: &'static [&'static str]§before: &'static [&'static str]§after: &'static [&'static str]§around: &'static [&'static str]Trait Implementations§
Source§impl<S> Clone for TransitionDefinition<S>where
S: Clone + MachineState,
impl<S> Clone for TransitionDefinition<S>where
S: Clone + MachineState,
Source§fn clone(&self) -> TransitionDefinition<S>
fn clone(&self) -> TransitionDefinition<S>
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 moreAuto Trait Implementations§
impl<S> Freeze for TransitionDefinition<S>where
S: Freeze,
impl<S> RefUnwindSafe for TransitionDefinition<S>where
S: RefUnwindSafe,
impl<S> Send for TransitionDefinition<S>
impl<S> Sync for TransitionDefinition<S>
impl<S> Unpin for TransitionDefinition<S>where
S: Unpin,
impl<S> UnwindSafe for TransitionDefinition<S>where
S: UnwindSafe + RefUnwindSafe,
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