#[repr(C)]pub struct WGPUDawnShaderModuleSPIRVOptionsDescriptor {
pub chain: WGPUChainedStruct,
pub allowNonUniformDerivatives: WGPUBool,
}Fields§
§chain: WGPUChainedStruct§allowNonUniformDerivatives: WGPUBoolTrait Implementations§
Source§impl Clone for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Clone for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Source§fn clone(&self) -> WGPUDawnShaderModuleSPIRVOptionsDescriptor
fn clone(&self) -> WGPUDawnShaderModuleSPIRVOptionsDescriptor
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 Ord for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Ord for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Source§fn cmp(&self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor) -> Ordering
fn cmp(&self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor) -> 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 WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl PartialEq for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Source§fn eq(&self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor) -> bool
fn eq(&self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl PartialOrd for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Copy for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Eq for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl StructuralPartialEq for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Auto Trait Implementations§
impl Freeze for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl RefUnwindSafe for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl !Send for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl !Sync for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Unpin for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl UnwindSafe for WGPUDawnShaderModuleSPIRVOptionsDescriptor
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