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