pub enum ObjectPriority {
Low,
Normal,
High,
Critical,
}Expand description
Object priority levels
Variants§
Trait Implementations§
Source§impl Clone for ObjectPriority
impl Clone for ObjectPriority
Source§fn clone(&self) -> ObjectPriority
fn clone(&self) -> ObjectPriority
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 ObjectPriority
impl Debug for ObjectPriority
Source§impl Ord for ObjectPriority
impl Ord for ObjectPriority
Source§fn cmp(&self, other: &ObjectPriority) -> Ordering
fn cmp(&self, other: &ObjectPriority) -> 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 ObjectPriority
impl PartialEq for ObjectPriority
Source§impl PartialOrd for ObjectPriority
impl PartialOrd for ObjectPriority
impl Eq for ObjectPriority
impl StructuralPartialEq for ObjectPriority
Auto Trait Implementations§
impl Freeze for ObjectPriority
impl RefUnwindSafe for ObjectPriority
impl Send for ObjectPriority
impl Sync for ObjectPriority
impl Unpin for ObjectPriority
impl UnsafeUnpin for ObjectPriority
impl UnwindSafe for ObjectPriority
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more