pub enum UpdatePriority {
Low = 0,
Normal = 1,
High = 2,
Critical = 3,
}
Expand description
Priority level for component updates
Variants§
Low = 0
Low priority updates can be delayed if higher-priority updates are pending
Normal = 1
Normal priority updates are processed in order
High = 2
High priority updates are processed before normal updates
Critical = 3
Critical updates are processed immediately
Trait Implementations§
Source§impl Clone for UpdatePriority
impl Clone for UpdatePriority
Source§fn clone(&self) -> UpdatePriority
fn clone(&self) -> UpdatePriority
Returns a copy 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 UpdatePriority
impl Debug 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 · 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§impl PartialOrd for UpdatePriority
impl PartialOrd for UpdatePriority
impl Copy for UpdatePriority
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting