#[repr(u8)]pub enum WhitePoint {
D65 = 1,
Custom = 2,
E = 10,
Dci = 11,
}Expand description
White point enumeration.
Variants§
D65 = 1
D65 white point (sRGB, Display P3).
Custom = 2
Custom white point.
E = 10
E white point.
Dci = 11
DCI white point.
Trait Implementations§
Source§impl Clone for WhitePoint
impl Clone for WhitePoint
Source§fn clone(&self) -> WhitePoint
fn clone(&self) -> WhitePoint
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 Debug for WhitePoint
impl Debug for WhitePoint
Source§impl Default for WhitePoint
impl Default for WhitePoint
Source§fn default() -> WhitePoint
fn default() -> WhitePoint
Returns the “default value” for a type. Read more
Source§impl PartialEq for WhitePoint
impl PartialEq for WhitePoint
impl Copy for WhitePoint
impl Eq for WhitePoint
impl StructuralPartialEq for WhitePoint
Auto Trait Implementations§
impl Freeze for WhitePoint
impl RefUnwindSafe for WhitePoint
impl Send for WhitePoint
impl Sync for WhitePoint
impl Unpin for WhitePoint
impl UnsafeUnpin for WhitePoint
impl UnwindSafe for WhitePoint
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more