pub enum ModeActivationKind {
OnEntry,
OnExit,
OnTransition,
}
Expand description
Kind of mode switch condition used for activation of an event
Variants§
OnEntry
On entering the mode
OnExit
On leaving the mode
OnTransition
on transition from the first mode to the second mode
Trait Implementations§
Source§impl Clone for ModeActivationKind
impl Clone for ModeActivationKind
Source§fn clone(&self) -> ModeActivationKind
fn clone(&self) -> ModeActivationKind
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 ModeActivationKind
impl Debug for ModeActivationKind
Source§impl From<ModeActivationKind> for EnumItem
impl From<ModeActivationKind> for EnumItem
Source§fn from(activation_kind: ModeActivationKind) -> Self
fn from(activation_kind: ModeActivationKind) -> Self
Converts to this type from the input type.
Source§impl Hash for ModeActivationKind
impl Hash for ModeActivationKind
Source§impl PartialEq for ModeActivationKind
impl PartialEq for ModeActivationKind
Source§impl TryFrom<EnumItem> for ModeActivationKind
impl TryFrom<EnumItem> for ModeActivationKind
impl Eq for ModeActivationKind
impl StructuralPartialEq for ModeActivationKind
Auto Trait Implementations§
impl Freeze for ModeActivationKind
impl RefUnwindSafe for ModeActivationKind
impl Send for ModeActivationKind
impl Sync for ModeActivationKind
impl Unpin for ModeActivationKind
impl UnwindSafe for ModeActivationKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.