pub enum HookPriority {
Highest = 100,
High = 80,
Normal = 50,
Low = 20,
Lowest = 0,
}Variants§
Trait Implementations§
Source§impl Clone for HookPriority
impl Clone for HookPriority
Source§fn clone(&self) -> HookPriority
fn clone(&self) -> HookPriority
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 HookPriority
impl Debug for HookPriority
Source§impl<'de> Deserialize<'de> for HookPriority
impl<'de> Deserialize<'de> for HookPriority
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
Source§impl Ord for HookPriority
impl Ord for HookPriority
Source§fn cmp(&self, other: &HookPriority) -> Ordering
fn cmp(&self, other: &HookPriority) -> 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 HookPriority
impl PartialEq for HookPriority
Source§impl PartialOrd for HookPriority
impl PartialOrd for HookPriority
Source§impl Serialize for HookPriority
impl Serialize for HookPriority
impl Eq for HookPriority
impl StructuralPartialEq for HookPriority
Auto Trait Implementations§
impl Freeze for HookPriority
impl RefUnwindSafe for HookPriority
impl Send for HookPriority
impl Sync for HookPriority
impl Unpin for HookPriority
impl UnwindSafe for HookPriority
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.