Struct ash::vk::SamplerYcbcrRange
source · #[repr(transparent)]pub struct SamplerYcbcrRange(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
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 for SamplerYcbcrRange
impl PartialEq 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 for SamplerYcbcrRange
impl PartialOrd 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 moreimpl Copy for SamplerYcbcrRange
impl Eq for SamplerYcbcrRange
impl StructuralPartialEq for SamplerYcbcrRange
Auto Trait Implementations§
impl Freeze for SamplerYcbcrRange
impl RefUnwindSafe for SamplerYcbcrRange
impl Send for SamplerYcbcrRange
impl Sync for SamplerYcbcrRange
impl Unpin for SamplerYcbcrRange
impl UnwindSafe for SamplerYcbcrRange
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