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 (const: unstable) · 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 (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 ComputePipelineId
impl PartialEq for ComputePipelineId
Source§fn eq(&self, other: &ComputePipelineId) -> bool
fn eq(&self, other: &ComputePipelineId) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin for ComputePipelineId
impl UnwindSafe for ComputePipelineId
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.