pub enum CommandPriority {
Critical = 3,
High = 2,
Normal = 1,
Low = 0,
}Expand description
Priority level for queued commands.
Higher-priority commands are dispatched before lower-priority ones.
Variants§
Trait Implementations§
Source§impl Clone for CommandPriority
impl Clone for CommandPriority
impl Copy for CommandPriority
Source§impl Debug for CommandPriority
impl Debug for CommandPriority
impl Eq for CommandPriority
Source§impl Ord for CommandPriority
impl Ord for CommandPriority
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CommandPriority
impl PartialEq for CommandPriority
Source§impl PartialOrd for CommandPriority
impl PartialOrd for CommandPriority
impl StructuralPartialEq for CommandPriority
Auto Trait Implementations§
impl Freeze for CommandPriority
impl RefUnwindSafe for CommandPriority
impl Send for CommandPriority
impl Sync for CommandPriority
impl Unpin for CommandPriority
impl UnsafeUnpin for CommandPriority
impl UnwindSafe for CommandPriority
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