pub enum Priority {
Low,
Medium,
High,
Realtime,
}
Expand description
Priority hint
Variants§
Low
Lowest priority, contexts using this priority give way for most other contexts.
Medium
Default priority.
High
High priority is usually required for VR applications.
Realtime
Realtime priority contexts are executed immediately and preempt any current context running.
When such context is not supported, Priority::High
will be requested
instead.
Trait Implementations§
impl Copy for Priority
impl Eq for Priority
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
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