Struct erupt::vk1_1::ChromaLocation
source · #[repr(transparent)]pub struct ChromaLocation(pub i32);
Expand description
Vulkan Manual Page · Enum
Tuple Fields
0: i32
Implementations
sourceimpl ChromaLocation
impl ChromaLocation
Provided by crate::extensions::khr_sampler_ycbcr_conversion
pub const COSITED_EVEN_KHR: Self = Self::COSITED_EVEN
pub const MIDPOINT_KHR: Self = Self::MIDPOINT
sourceimpl ChromaLocation
impl ChromaLocation
Provided by crate::vk1_1
pub const COSITED_EVEN: Self = _
pub const MIDPOINT: Self = _
Trait Implementations
sourceimpl Clone for ChromaLocation
impl Clone for ChromaLocation
sourcefn clone(&self) -> ChromaLocation
fn clone(&self) -> ChromaLocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ChromaLocation
impl Debug for ChromaLocation
sourceimpl Default for ChromaLocation
impl Default for ChromaLocation
sourcefn default() -> ChromaLocation
fn default() -> ChromaLocation
Returns the “default value” for a type. Read more
sourceimpl Hash for ChromaLocation
impl Hash for ChromaLocation
sourceimpl Ord for ChromaLocation
impl Ord for ChromaLocation
sourcefn cmp(&self, other: &ChromaLocation) -> Ordering
fn cmp(&self, other: &ChromaLocation) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ChromaLocation> for ChromaLocation
impl PartialEq<ChromaLocation> for ChromaLocation
sourcefn eq(&self, other: &ChromaLocation) -> bool
fn eq(&self, other: &ChromaLocation) -> bool
sourceimpl PartialOrd<ChromaLocation> for ChromaLocation
impl PartialOrd<ChromaLocation> for ChromaLocation
sourcefn partial_cmp(&self, other: &ChromaLocation) -> Option<Ordering>
fn partial_cmp(&self, other: &ChromaLocation) -> Option<Ordering>
1.0.0 · sourcefn 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 StructuralEq for ChromaLocation
impl StructuralPartialEq for ChromaLocation
Auto Trait Implementations
impl RefUnwindSafe for ChromaLocation
impl Send for ChromaLocation
impl Sync for ChromaLocation
impl Unpin for ChromaLocation
impl UnwindSafe for ChromaLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more