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