#[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 (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 WGPUCopyTextureForBrowserOptions
impl Eq for WGPUCopyTextureForBrowserOptions
Source§impl Ord for WGPUCopyTextureForBrowserOptions
impl Ord for WGPUCopyTextureForBrowserOptions
Source§fn cmp(&self, other: &WGPUCopyTextureForBrowserOptions) -> Ordering
fn cmp(&self, other: &WGPUCopyTextureForBrowserOptions) -> 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 WGPUCopyTextureForBrowserOptions
impl PartialOrd for WGPUCopyTextureForBrowserOptions
impl StructuralPartialEq for WGPUCopyTextureForBrowserOptions
Auto Trait Implementations§
impl !Send for WGPUCopyTextureForBrowserOptions
impl !Sync for WGPUCopyTextureForBrowserOptions
impl Freeze for WGPUCopyTextureForBrowserOptions
impl RefUnwindSafe for WGPUCopyTextureForBrowserOptions
impl Unpin for WGPUCopyTextureForBrowserOptions
impl UnsafeUnpin 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