#[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 copy 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
impl Copy 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