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