#[repr(C)]pub struct WGPUComputeState {
pub nextInChain: *mut WGPUChainedStruct,
pub module: WGPUShaderModule,
pub entryPoint: WGPUStringView,
pub constantCount: usize,
pub constants: *const WGPUConstantEntry,
}Fields§
§nextInChain: *mut WGPUChainedStruct§module: WGPUShaderModule§entryPoint: WGPUStringView§constantCount: usize§constants: *const WGPUConstantEntryTrait Implementations§
Source§impl Clone for WGPUComputeState
impl Clone for WGPUComputeState
Source§fn clone(&self) -> WGPUComputeState
fn clone(&self) -> WGPUComputeState
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 WGPUComputeState
impl Debug for WGPUComputeState
Source§impl Default for WGPUComputeState
impl Default for WGPUComputeState
Source§impl Hash for WGPUComputeState
impl Hash for WGPUComputeState
Source§impl Ord for WGPUComputeState
impl Ord for WGPUComputeState
Source§fn cmp(&self, other: &WGPUComputeState) -> Ordering
fn cmp(&self, other: &WGPUComputeState) -> 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 WGPUComputeState
impl PartialEq for WGPUComputeState
Source§impl PartialOrd for WGPUComputeState
impl PartialOrd for WGPUComputeState
impl Copy for WGPUComputeState
impl Eq for WGPUComputeState
impl StructuralPartialEq for WGPUComputeState
Auto Trait Implementations§
impl Freeze for WGPUComputeState
impl RefUnwindSafe for WGPUComputeState
impl !Send for WGPUComputeState
impl !Sync for WGPUComputeState
impl Unpin for WGPUComputeState
impl UnwindSafe for WGPUComputeState
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