pub enum ChangePriority {
Low,
Normal,
High,
Critical,
}
Expand description
Priority levels for state changes
Variants§
Trait Implementations§
Source§impl Clone for ChangePriority
impl Clone for ChangePriority
Source§fn clone(&self) -> ChangePriority
fn clone(&self) -> ChangePriority
Returns a copy 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 ChangePriority
impl Debug for ChangePriority
Source§impl Ord for ChangePriority
impl Ord for ChangePriority
Source§fn cmp(&self, other: &ChangePriority) -> Ordering
fn cmp(&self, other: &ChangePriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChangePriority
impl PartialEq for ChangePriority
Source§impl PartialOrd for ChangePriority
impl PartialOrd for ChangePriority
impl Copy for ChangePriority
impl Eq for ChangePriority
impl StructuralPartialEq for ChangePriority
Auto Trait Implementations§
impl Freeze for ChangePriority
impl RefUnwindSafe for ChangePriority
impl Send for ChangePriority
impl Sync for ChangePriority
impl Unpin for ChangePriority
impl UnwindSafe for ChangePriority
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<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting