#[repr(u32)]pub enum ChromaLocation {
CositedEven = 0,
Midpoint = 1,
}Variants§
Implementations§
Source§impl ChromaLocation
impl ChromaLocation
pub const CositedEvenKHR: Self = Self::CositedEven
pub const MidpointKHR: 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChromaLocation
Source§impl Debug for ChromaLocation
impl Debug for ChromaLocation
impl Eq for ChromaLocation
Source§impl PartialEq for ChromaLocation
impl PartialEq for ChromaLocation
Source§fn eq(&self, other: &ChromaLocation) -> bool
fn eq(&self, other: &ChromaLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin for ChromaLocation
impl UnwindSafe for ChromaLocation
Blanket Implementations§
impl<T> Alias<T> for T
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