pub struct ComputePipelineId(pub u64);Expand description
An opaque handle to a compiled compute pipeline state object.
This ID is returned by [GraphicsDevice::create_compute_pipeline] and is used
to reference the pipeline when recording compute dispatches.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ComputePipelineId
impl Clone for ComputePipelineId
Source§fn clone(&self) -> ComputePipelineId
fn clone(&self) -> ComputePipelineId
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 ComputePipelineId
impl Debug for ComputePipelineId
Source§impl Hash for ComputePipelineId
impl Hash for ComputePipelineId
Source§impl Ord for ComputePipelineId
impl Ord for ComputePipelineId
Source§fn cmp(&self, other: &ComputePipelineId) -> Ordering
fn cmp(&self, other: &ComputePipelineId) -> 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 ComputePipelineId
impl PartialEq for ComputePipelineId
Source§impl PartialOrd for ComputePipelineId
impl PartialOrd for ComputePipelineId
impl Copy for ComputePipelineId
impl Eq for ComputePipelineId
impl StructuralPartialEq for ComputePipelineId
Auto Trait Implementations§
impl Freeze for ComputePipelineId
impl RefUnwindSafe for ComputePipelineId
impl Send for ComputePipelineId
impl Sync for ComputePipelineId
impl Unpin for ComputePipelineId
impl UnwindSafe for ComputePipelineId
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