#[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: WGPUExternalTextureRotation,
}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: WGPUExternalTextureRotationTrait Implementations§
Source§impl Clone for WGPUExternalTextureDescriptor
impl Clone for WGPUExternalTextureDescriptor
Source§fn clone(&self) -> WGPUExternalTextureDescriptor
fn clone(&self) -> WGPUExternalTextureDescriptor
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 Hash for WGPUExternalTextureDescriptor
impl Hash for WGPUExternalTextureDescriptor
Source§impl Ord for WGPUExternalTextureDescriptor
impl Ord for WGPUExternalTextureDescriptor
Source§fn cmp(&self, other: &WGPUExternalTextureDescriptor) -> Ordering
fn cmp(&self, other: &WGPUExternalTextureDescriptor) -> 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 WGPUExternalTextureDescriptor
impl PartialEq for WGPUExternalTextureDescriptor
Source§fn eq(&self, other: &WGPUExternalTextureDescriptor) -> bool
fn eq(&self, other: &WGPUExternalTextureDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WGPUExternalTextureDescriptor
impl PartialOrd for WGPUExternalTextureDescriptor
impl Copy for WGPUExternalTextureDescriptor
impl Eq for WGPUExternalTextureDescriptor
impl StructuralPartialEq 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