#[repr(C)]pub struct WGPUComputePipelineDescriptor {
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub layout: WGPUPipelineLayout,
pub compute: WGPUComputeState,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§layout: WGPUPipelineLayout§compute: WGPUComputeStateTrait Implementations§
Source§impl Clone for WGPUComputePipelineDescriptor
impl Clone for WGPUComputePipelineDescriptor
Source§fn clone(&self) -> WGPUComputePipelineDescriptor
fn clone(&self) -> WGPUComputePipelineDescriptor
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 Hash for WGPUComputePipelineDescriptor
impl Hash for WGPUComputePipelineDescriptor
Source§impl Ord for WGPUComputePipelineDescriptor
impl Ord for WGPUComputePipelineDescriptor
Source§fn cmp(&self, other: &WGPUComputePipelineDescriptor) -> Ordering
fn cmp(&self, other: &WGPUComputePipelineDescriptor) -> 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 WGPUComputePipelineDescriptor
impl PartialEq for WGPUComputePipelineDescriptor
Source§fn eq(&self, other: &WGPUComputePipelineDescriptor) -> bool
fn eq(&self, other: &WGPUComputePipelineDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUComputePipelineDescriptor
impl PartialOrd for WGPUComputePipelineDescriptor
impl Copy for WGPUComputePipelineDescriptor
impl Eq for WGPUComputePipelineDescriptor
impl StructuralPartialEq for WGPUComputePipelineDescriptor
Auto Trait Implementations§
impl Freeze for WGPUComputePipelineDescriptor
impl RefUnwindSafe for WGPUComputePipelineDescriptor
impl !Send for WGPUComputePipelineDescriptor
impl !Sync for WGPUComputePipelineDescriptor
impl Unpin for WGPUComputePipelineDescriptor
impl UnwindSafe for WGPUComputePipelineDescriptor
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