#[repr(C)]pub struct WGPUShaderSourceSPIRV {
pub chain: WGPUChainedStruct,
pub codeSize: u32,
pub code: *const u32,
}Fields§
§chain: WGPUChainedStruct§codeSize: u32§code: *const u32Trait Implementations§
Source§impl Clone for WGPUShaderSourceSPIRV
impl Clone for WGPUShaderSourceSPIRV
Source§fn clone(&self) -> WGPUShaderSourceSPIRV
fn clone(&self) -> WGPUShaderSourceSPIRV
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 WGPUShaderSourceSPIRV
impl Debug for WGPUShaderSourceSPIRV
impl Copy for WGPUShaderSourceSPIRV
Auto Trait Implementations§
impl Freeze for WGPUShaderSourceSPIRV
impl RefUnwindSafe for WGPUShaderSourceSPIRV
impl !Send for WGPUShaderSourceSPIRV
impl !Sync for WGPUShaderSourceSPIRV
impl Unpin for WGPUShaderSourceSPIRV
impl UnwindSafe for WGPUShaderSourceSPIRV
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