#[repr(u8)]pub enum GpuQueuePriority {
Low = 0,
Normal = 1,
High = 2,
Realtime = 3,
}Expand description
GPU command queue priority.
Variants§
Low = 0
Low priority (background compute).
Normal = 1
Normal priority.
High = 2
High priority (real-time rendering/inference).
Realtime = 3
Realtime priority (coherence engine acceleration).
Trait Implementations§
Source§impl Clone for GpuQueuePriority
impl Clone for GpuQueuePriority
Source§fn clone(&self) -> GpuQueuePriority
fn clone(&self) -> GpuQueuePriority
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 GpuQueuePriority
Source§impl Debug for GpuQueuePriority
impl Debug for GpuQueuePriority
impl Eq for GpuQueuePriority
Source§impl Ord for GpuQueuePriority
impl Ord for GpuQueuePriority
Source§fn cmp(&self, other: &GpuQueuePriority) -> Ordering
fn cmp(&self, other: &GpuQueuePriority) -> 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 GpuQueuePriority
impl PartialEq for GpuQueuePriority
Source§impl PartialOrd for GpuQueuePriority
impl PartialOrd for GpuQueuePriority
impl StructuralPartialEq for GpuQueuePriority
Auto Trait Implementations§
impl Freeze for GpuQueuePriority
impl RefUnwindSafe for GpuQueuePriority
impl Send for GpuQueuePriority
impl Sync for GpuQueuePriority
impl Unpin for GpuQueuePriority
impl UnsafeUnpin for GpuQueuePriority
impl UnwindSafe for GpuQueuePriority
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