#[non_exhaustive]#[repr(C)]pub struct MslSamplerYcbcrConversion {
pub planes: u32,
pub resolution: MslFormatResolution,
pub chroma_filter: MslSamplerFilter,
pub x_chroma_offset: MslChromaLocation,
pub y_chroma_offset: MslChromaLocation,
pub swizzle: [MslComponentSwizzle; 4],
pub ycbcr_model: MslSamplerYcbcrModelConversion,
pub ycbcr_range: MslSamplerYcbcrRange,
pub bpc: u32,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.planes: u32§resolution: MslFormatResolution§chroma_filter: MslSamplerFilter§x_chroma_offset: MslChromaLocation§y_chroma_offset: MslChromaLocation§swizzle: [MslComponentSwizzle; 4]§ycbcr_model: MslSamplerYcbcrModelConversion§ycbcr_range: MslSamplerYcbcrRange§bpc: u32Trait Implementations§
source§impl Clone for MslSamplerYcbcrConversion
impl Clone for MslSamplerYcbcrConversion
source§fn clone(&self) -> MslSamplerYcbcrConversion
fn clone(&self) -> MslSamplerYcbcrConversion
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 moresource§impl Debug for MslSamplerYcbcrConversion
impl Debug for MslSamplerYcbcrConversion
source§impl Default for MslSamplerYcbcrConversion
impl Default for MslSamplerYcbcrConversion
source§impl Hash for MslSamplerYcbcrConversion
impl Hash for MslSamplerYcbcrConversion
impl Copy for MslSamplerYcbcrConversion
impl Eq for MslSamplerYcbcrConversion
impl StructuralPartialEq for MslSamplerYcbcrConversion
Auto Trait Implementations§
impl Freeze for MslSamplerYcbcrConversion
impl RefUnwindSafe for MslSamplerYcbcrConversion
impl Send for MslSamplerYcbcrConversion
impl Sync for MslSamplerYcbcrConversion
impl Unpin for MslSamplerYcbcrConversion
impl UnwindSafe for MslSamplerYcbcrConversion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)