pub enum TransitionTrigger {
Guard {
transition_index: usize,
},
Programmatic {
source: &'static str,
},
}Expand description
What caused a phase transition.
Variants§
Guard
A named transition guard returned true during evaluate()
Programmatic
Explicit programmatic transition
Trait Implementations§
Source§impl Clone for TransitionTrigger
impl Clone for TransitionTrigger
Source§fn clone(&self) -> TransitionTrigger
fn clone(&self) -> TransitionTrigger
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 TransitionTrigger
impl RefUnwindSafe for TransitionTrigger
impl Send for TransitionTrigger
impl Sync for TransitionTrigger
impl Unpin for TransitionTrigger
impl UnwindSafe for TransitionTrigger
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