pub enum TimerRegisteredBy {
Parent,
Child,
}Expand description
Specifies whether the callback is meant to run on the parent state or a child state.
For example if a child state registers a timer, a value of TimerRegisteredBy::Child will be
given to the callback so that it knows to apply the callback to a child state, not the parent
state.
Variants§
Trait Implementations§
Source§impl Clone for TimerRegisteredBy
impl Clone for TimerRegisteredBy
Source§fn clone(&self) -> TimerRegisteredBy
fn clone(&self) -> TimerRegisteredBy
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 Debug for TimerRegisteredBy
impl Debug for TimerRegisteredBy
Source§impl PartialEq for TimerRegisteredBy
impl PartialEq for TimerRegisteredBy
impl Copy for TimerRegisteredBy
impl Eq for TimerRegisteredBy
impl StructuralPartialEq for TimerRegisteredBy
Auto Trait Implementations§
impl Freeze for TimerRegisteredBy
impl RefUnwindSafe for TimerRegisteredBy
impl Send for TimerRegisteredBy
impl Sync for TimerRegisteredBy
impl Unpin for TimerRegisteredBy
impl UnwindSafe for TimerRegisteredBy
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