#[repr(C)]pub struct WGPUExternalTextureDescriptor {Show 14 fields
pub nextInChain: *mut WGPUChainedStruct,
pub label: WGPUStringView,
pub plane0: WGPUTextureView,
pub plane1: WGPUTextureView,
pub cropOrigin: WGPUOrigin2D,
pub cropSize: WGPUExtent2D,
pub apparentSize: WGPUExtent2D,
pub doYuvToRgbConversionOnly: WGPUBool,
pub yuvToRgbConversionMatrix: *const f32,
pub srcTransferFunctionParameters: *const f32,
pub dstTransferFunctionParameters: *const f32,
pub gamutConversionMatrix: *const f32,
pub mirrored: WGPUBool,
pub rotation: c_int,
}Fields§
§nextInChain: *mut WGPUChainedStruct§label: WGPUStringView§plane0: WGPUTextureView§plane1: WGPUTextureView§cropOrigin: WGPUOrigin2D§cropSize: WGPUExtent2D§apparentSize: WGPUExtent2D§doYuvToRgbConversionOnly: WGPUBool§yuvToRgbConversionMatrix: *const f32§srcTransferFunctionParameters: *const f32§dstTransferFunctionParameters: *const f32§gamutConversionMatrix: *const f32§mirrored: WGPUBool§rotation: c_intTrait Implementations§
Source§impl Clone for WGPUExternalTextureDescriptor
impl Clone for WGPUExternalTextureDescriptor
Source§fn clone(&self) -> WGPUExternalTextureDescriptor
fn clone(&self) -> WGPUExternalTextureDescriptor
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 WGPUExternalTextureDescriptor
Auto Trait Implementations§
impl Freeze for WGPUExternalTextureDescriptor
impl RefUnwindSafe for WGPUExternalTextureDescriptor
impl !Send for WGPUExternalTextureDescriptor
impl !Sync for WGPUExternalTextureDescriptor
impl Unpin for WGPUExternalTextureDescriptor
impl UnwindSafe for WGPUExternalTextureDescriptor
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