Struct ash::vk::SamplerYcbcrModelConversion
source · #[repr(transparent)]pub struct SamplerYcbcrModelConversion(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl SamplerYcbcrModelConversion
impl SamplerYcbcrModelConversion
pub const RGB_IDENTITY: Self = _
sourcepub const YCBCR_IDENTITY: Self = _
pub const YCBCR_IDENTITY: Self = _
just range expansion
sourcepub const YCBCR_2020: Self = _
pub const YCBCR_2020: Self = _
aka UHD YUV
source§impl SamplerYcbcrModelConversion
impl SamplerYcbcrModelConversion
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const RGB_IDENTITY_KHR: Self = Self::RGB_IDENTITY
pub const YCBCR_IDENTITY_KHR: Self = Self::YCBCR_IDENTITY
pub const YCBCR_709_KHR: Self = Self::YCBCR_709
pub const YCBCR_601_KHR: Self = Self::YCBCR_601
pub const YCBCR_2020_KHR: Self = Self::YCBCR_2020
Trait Implementations§
source§impl Clone for SamplerYcbcrModelConversion
impl Clone for SamplerYcbcrModelConversion
source§fn clone(&self) -> SamplerYcbcrModelConversion
fn clone(&self) -> SamplerYcbcrModelConversion
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 SamplerYcbcrModelConversion
impl Debug for SamplerYcbcrModelConversion
source§impl Default for SamplerYcbcrModelConversion
impl Default for SamplerYcbcrModelConversion
source§fn default() -> SamplerYcbcrModelConversion
fn default() -> SamplerYcbcrModelConversion
Returns the “default value” for a type. Read more
source§impl Hash for SamplerYcbcrModelConversion
impl Hash for SamplerYcbcrModelConversion
source§impl Ord for SamplerYcbcrModelConversion
impl Ord for SamplerYcbcrModelConversion
source§fn cmp(&self, other: &SamplerYcbcrModelConversion) -> Ordering
fn cmp(&self, other: &SamplerYcbcrModelConversion) -> 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 SamplerYcbcrModelConversion
impl PartialEq for SamplerYcbcrModelConversion
source§fn eq(&self, other: &SamplerYcbcrModelConversion) -> bool
fn eq(&self, other: &SamplerYcbcrModelConversion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SamplerYcbcrModelConversion
impl PartialOrd for SamplerYcbcrModelConversion
source§fn partial_cmp(&self, other: &SamplerYcbcrModelConversion) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerYcbcrModelConversion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SamplerYcbcrModelConversion
impl Eq for SamplerYcbcrModelConversion
impl StructuralPartialEq for SamplerYcbcrModelConversion
Auto Trait Implementations§
impl Freeze for SamplerYcbcrModelConversion
impl RefUnwindSafe for SamplerYcbcrModelConversion
impl Send for SamplerYcbcrModelConversion
impl Sync for SamplerYcbcrModelConversion
impl Unpin for SamplerYcbcrModelConversion
impl UnwindSafe for SamplerYcbcrModelConversion
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