#[repr(transparent)]pub struct SamplerYcbcrRange(_);Expand description
Implementations
sourceimpl SamplerYcbcrRange
impl SamplerYcbcrRange
sourcepub const ITU_FULL: SamplerYcbcrRange = Self(0)
pub const ITU_FULL: SamplerYcbcrRange = Self(0)
Luma 0..1 maps to 0..255, chroma -0.5..0.5 to 1..255 (clamped)
sourcepub const ITU_NARROW: SamplerYcbcrRange = Self(1)
pub const ITU_NARROW: SamplerYcbcrRange = Self(1)
Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240
sourceimpl SamplerYcbcrRange
impl SamplerYcbcrRange
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const ITU_FULL_KHR: SamplerYcbcrRange = Self::ITU_FULL
pub const ITU_NARROW_KHR: SamplerYcbcrRange = Self::ITU_NARROW
Trait Implementations
sourceimpl Clone for SamplerYcbcrRange
impl Clone for SamplerYcbcrRange
sourcefn clone(&self) -> SamplerYcbcrRange
fn clone(&self) -> SamplerYcbcrRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SamplerYcbcrRange
impl Debug for SamplerYcbcrRange
sourceimpl Default for SamplerYcbcrRange
impl Default for SamplerYcbcrRange
sourcefn default() -> SamplerYcbcrRange
fn default() -> SamplerYcbcrRange
Returns the “default value” for a type. Read more
sourceimpl Hash for SamplerYcbcrRange
impl Hash for SamplerYcbcrRange
sourceimpl Ord for SamplerYcbcrRange
impl Ord for SamplerYcbcrRange
sourceimpl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialEq<SamplerYcbcrRange> for SamplerYcbcrRange
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &SamplerYcbcrRange) -> bool
fn ne(&self, other: &SamplerYcbcrRange) -> bool
This method tests for !=.
sourceimpl PartialOrd<SamplerYcbcrRange> for SamplerYcbcrRange
impl PartialOrd<SamplerYcbcrRange> for SamplerYcbcrRange
sourcefn partial_cmp(&self, other: &SamplerYcbcrRange) -> Option<Ordering>
fn partial_cmp(&self, other: &SamplerYcbcrRange) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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
impl Copy for SamplerYcbcrRange
impl Eq for SamplerYcbcrRange
impl StructuralEq for SamplerYcbcrRange
impl StructuralPartialEq for SamplerYcbcrRange
Auto Trait Implementations
impl RefUnwindSafe for SamplerYcbcrRange
impl Send for SamplerYcbcrRange
impl Sync for SamplerYcbcrRange
impl Unpin for SamplerYcbcrRange
impl UnwindSafe for SamplerYcbcrRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more