Struct ash::vk::ChromaLocation
source · pub struct ChromaLocation(/* private fields */);
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 for ChromaLocation
impl PartialEq 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 for ChromaLocation
impl PartialOrd 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 moreimpl Copy for ChromaLocation
impl Eq for ChromaLocation
impl StructuralPartialEq for ChromaLocation
Auto Trait Implementations§
impl Freeze for ChromaLocation
impl RefUnwindSafe for ChromaLocation
impl Send for ChromaLocation
impl Sync for ChromaLocation
impl Unpin for ChromaLocation
impl UnwindSafe for ChromaLocation
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