#[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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Eq for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Source§impl Ord for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Ord for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Source§fn cmp(&self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor) -> Ordering
fn cmp(&self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl PartialOrd for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Source§fn partial_cmp(
&self,
other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor,
) -> Option<Ordering>
fn partial_cmp( &self, other: &WGPUDawnShaderModuleSPIRVOptionsDescriptor, ) -> Option<Ordering>
impl StructuralPartialEq for WGPUDawnShaderModuleSPIRVOptionsDescriptor
Auto Trait Implementations§
impl !Send for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl !Sync for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Freeze for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl RefUnwindSafe for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl Unpin for WGPUDawnShaderModuleSPIRVOptionsDescriptor
impl UnsafeUnpin 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