pub enum UpdatePriority {
Low = 0,
High = 1,
}Expand description
Specify priority for pending updates to define which one wins.
Variants§
Trait Implementations§
Source§impl Clone for UpdatePriority
impl Clone for UpdatePriority
Source§fn clone(&self) -> UpdatePriority
fn clone(&self) -> UpdatePriority
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 UpdatePriority
impl Eq for UpdatePriority
Source§impl Ord for UpdatePriority
impl Ord for UpdatePriority
Source§fn cmp(&self, other: &UpdatePriority) -> Ordering
fn cmp(&self, other: &UpdatePriority) -> 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 UpdatePriority
impl PartialEq for UpdatePriority
Source§fn eq(&self, other: &UpdatePriority) -> bool
fn eq(&self, other: &UpdatePriority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UpdatePriority
impl PartialOrd for UpdatePriority
impl StructuralPartialEq for UpdatePriority
Auto Trait Implementations§
impl Freeze for UpdatePriority
impl RefUnwindSafe for UpdatePriority
impl Send for UpdatePriority
impl Sync for UpdatePriority
impl Unpin for UpdatePriority
impl UnsafeUnpin for UpdatePriority
impl UnwindSafe for UpdatePriority
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