Struct ash::vk::SamplerYcbcrRange
source · #[repr(transparent)]pub struct SamplerYcbcrRange(_);
Expand description
Implementations§
source§impl SamplerYcbcrRange
impl SamplerYcbcrRange
sourcepub const ITU_NARROW: Self = _
pub const ITU_NARROW: Self = _
Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240
source§impl SamplerYcbcrRange
impl SamplerYcbcrRange
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const ITU_FULL_KHR: Self = Self::ITU_FULL
pub const ITU_NARROW_KHR: Self = Self::ITU_NARROW
Trait Implementations§
source§impl Clone for SamplerYcbcrRange
impl Clone for SamplerYcbcrRange
source§fn clone(&self) -> SamplerYcbcrRange
fn clone(&self) -> SamplerYcbcrRange
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 SamplerYcbcrRange
impl Debug for SamplerYcbcrRange
source§impl Default for SamplerYcbcrRange
impl Default for SamplerYcbcrRange
source§fn default() -> SamplerYcbcrRange
fn default() -> SamplerYcbcrRange
Returns the “default value” for a type. Read more
source§impl Hash for SamplerYcbcrRange
impl Hash for SamplerYcbcrRange
source§impl Ord for SamplerYcbcrRange
impl Ord for SamplerYcbcrRange
source§fn cmp(&self, other: &SamplerYcbcrRange) -> Ordering
fn cmp(&self, other: &SamplerYcbcrRange) -> 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<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
source§fn eq(&self, other: &SamplerYcbcrRange) -> bool
fn eq(&self, other: &SamplerYcbcrRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialOrd<SamplerYcbcrRange> for SamplerYcbcrRange
source§fn partial_cmp(&self, other: &SamplerYcbcrRange) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerYcbcrRange) -> 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 more