pub enum PriorityClass {
Low,
Medium,
High,
}Expand description
The broad classification of a Priority value.
Variants§
Trait Implementations§
Source§impl Clone for PriorityClass
impl Clone for PriorityClass
Source§fn clone(&self) -> PriorityClass
fn clone(&self) -> PriorityClass
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PriorityClass
Source§impl Debug for PriorityClass
impl Debug for PriorityClass
impl Eq for PriorityClass
Source§impl Ord for PriorityClass
impl Ord for PriorityClass
Source§fn cmp(&self, other: &PriorityClass) -> Ordering
fn cmp(&self, other: &PriorityClass) -> Ordering
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 PriorityClass
impl PartialEq for PriorityClass
Source§impl PartialOrd for PriorityClass
impl PartialOrd for PriorityClass
impl StructuralPartialEq for PriorityClass
Auto Trait Implementations§
impl Freeze for PriorityClass
impl RefUnwindSafe for PriorityClass
impl Send for PriorityClass
impl Sync for PriorityClass
impl Unpin for PriorityClass
impl UnsafeUnpin for PriorityClass
impl UnwindSafe for PriorityClass
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