#[repr(C)]pub struct WGPUCopyTextureForBrowserOptions {
pub nextInChain: *mut WGPUChainedStruct,
pub flipY: WGPUBool,
pub needsColorSpaceConversion: WGPUBool,
pub srcAlphaMode: c_int,
pub srcTransferFunctionParameters: *const f32,
pub conversionMatrix: *const f32,
pub dstTransferFunctionParameters: *const f32,
pub dstAlphaMode: c_int,
pub internalUsage: WGPUBool,
}Fields§
§nextInChain: *mut WGPUChainedStruct§flipY: WGPUBool§needsColorSpaceConversion: WGPUBool§srcAlphaMode: c_int§srcTransferFunctionParameters: *const f32§conversionMatrix: *const f32§dstTransferFunctionParameters: *const f32§dstAlphaMode: c_int§internalUsage: WGPUBoolTrait Implementations§
Source§impl Clone for WGPUCopyTextureForBrowserOptions
impl Clone for WGPUCopyTextureForBrowserOptions
Source§fn clone(&self) -> WGPUCopyTextureForBrowserOptions
fn clone(&self) -> WGPUCopyTextureForBrowserOptions
Returns a copy 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 moreimpl Copy 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