#[repr(C)]pub struct WGPUCopyTextureForBrowserOptions {
pub nextInChain: *mut WGPUChainedStruct,
pub flipY: WGPUBool,
pub needsColorSpaceConversion: WGPUBool,
pub srcAlphaMode: WGPUAlphaMode,
pub srcTransferFunctionParameters: *const f32,
pub conversionMatrix: *const f32,
pub dstTransferFunctionParameters: *const f32,
pub dstAlphaMode: WGPUAlphaMode,
pub internalUsage: WGPUBool,
}Fields§
§nextInChain: *mut WGPUChainedStruct§flipY: WGPUBool§needsColorSpaceConversion: WGPUBool§srcAlphaMode: WGPUAlphaMode§srcTransferFunctionParameters: *const f32§conversionMatrix: *const f32§dstTransferFunctionParameters: *const f32§dstAlphaMode: WGPUAlphaMode§internalUsage: WGPUBoolTrait Implementations§
Source§impl Clone for WGPUCopyTextureForBrowserOptions
impl Clone for WGPUCopyTextureForBrowserOptions
Source§fn clone(&self) -> WGPUCopyTextureForBrowserOptions
fn clone(&self) -> WGPUCopyTextureForBrowserOptions
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 WGPUCopyTextureForBrowserOptions
impl Ord for WGPUCopyTextureForBrowserOptions
Source§fn cmp(&self, other: &WGPUCopyTextureForBrowserOptions) -> Ordering
fn cmp(&self, other: &WGPUCopyTextureForBrowserOptions) -> 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 WGPUCopyTextureForBrowserOptions
impl PartialEq for WGPUCopyTextureForBrowserOptions
Source§fn eq(&self, other: &WGPUCopyTextureForBrowserOptions) -> bool
fn eq(&self, other: &WGPUCopyTextureForBrowserOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUCopyTextureForBrowserOptions
impl PartialOrd for WGPUCopyTextureForBrowserOptions
impl Copy for WGPUCopyTextureForBrowserOptions
impl Eq for WGPUCopyTextureForBrowserOptions
impl StructuralPartialEq for WGPUCopyTextureForBrowserOptions
Auto Trait Implementations§
impl Freeze for WGPUCopyTextureForBrowserOptions
impl RefUnwindSafe for WGPUCopyTextureForBrowserOptions
impl !Send for WGPUCopyTextureForBrowserOptions
impl !Sync for WGPUCopyTextureForBrowserOptions
impl Unpin for WGPUCopyTextureForBrowserOptions
impl UnwindSafe for WGPUCopyTextureForBrowserOptions
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