pub enum PhantomPriority {
Low,
Medium,
High,
Critical,
}Variants§
Trait Implementations§
Source§impl Clone for PhantomPriority
impl Clone for PhantomPriority
Source§fn clone(&self) -> PhantomPriority
fn clone(&self) -> PhantomPriority
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 PhantomPriority
Source§impl Debug for PhantomPriority
impl Debug for PhantomPriority
Source§impl<'de> Deserialize<'de> for PhantomPriority
impl<'de> Deserialize<'de> for PhantomPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PhantomPriority
Source§impl Ord for PhantomPriority
impl Ord for PhantomPriority
Source§fn cmp(&self, other: &PhantomPriority) -> Ordering
fn cmp(&self, other: &PhantomPriority) -> 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
Source§impl PartialEq for PhantomPriority
impl PartialEq for PhantomPriority
Source§fn eq(&self, other: &PhantomPriority) -> bool
fn eq(&self, other: &PhantomPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhantomPriority
impl PartialOrd for PhantomPriority
Source§impl Serialize for PhantomPriority
impl Serialize for PhantomPriority
impl StructuralPartialEq for PhantomPriority
Auto Trait Implementations§
impl Freeze for PhantomPriority
impl RefUnwindSafe for PhantomPriority
impl Send for PhantomPriority
impl Sync for PhantomPriority
impl Unpin for PhantomPriority
impl UnsafeUnpin for PhantomPriority
impl UnwindSafe for PhantomPriority
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