Struct ash::vk::ChromaLocation
source · #[repr(transparent)]pub struct ChromaLocation(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)