pub struct TransitionEdge {
pub command: Option<String>,
pub emits: Option<String>,
pub guards: Vec<String>,
}Expand description
A graph edge representing a transition between states.
Fields§
§command: Option<String>Command that triggers this transition (if any).
emits: Option<String>Event emitted when the transition fires (if any).
guards: Vec<String>Guard predicates that must pass before the transition can fire.
Trait Implementations§
Source§impl Clone for TransitionEdge
impl Clone for TransitionEdge
Source§fn clone(&self) -> TransitionEdge
fn clone(&self) -> TransitionEdge
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 Freeze for TransitionEdge
impl RefUnwindSafe for TransitionEdge
impl Send for TransitionEdge
impl Sync for TransitionEdge
impl Unpin for TransitionEdge
impl UnsafeUnpin for TransitionEdge
impl UnwindSafe for TransitionEdge
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