#[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 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 WGPUShaderSourceSPIRV
impl Debug for WGPUShaderSourceSPIRV
Source§impl Default for WGPUShaderSourceSPIRV
impl Default for WGPUShaderSourceSPIRV
Source§impl Hash for WGPUShaderSourceSPIRV
impl Hash for WGPUShaderSourceSPIRV
Source§impl Ord for WGPUShaderSourceSPIRV
impl Ord for WGPUShaderSourceSPIRV
Source§fn cmp(&self, other: &WGPUShaderSourceSPIRV) -> Ordering
fn cmp(&self, other: &WGPUShaderSourceSPIRV) -> 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 WGPUShaderSourceSPIRV
impl PartialEq for WGPUShaderSourceSPIRV
Source§impl PartialOrd for WGPUShaderSourceSPIRV
impl PartialOrd for WGPUShaderSourceSPIRV
impl Copy for WGPUShaderSourceSPIRV
impl Eq for WGPUShaderSourceSPIRV
impl StructuralPartialEq 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