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
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
 
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 duplicate 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 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§impl PartialOrd for ChromaLocation
 
impl PartialOrd for ChromaLocation
impl 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