Enum image_canvas::color::Whitepoint
source · [−]#[non_exhaustive]
pub enum Whitepoint {
A,
B,
C,
D50,
D55,
D65,
D75,
E,
F2,
F7,
F11,
}
Expand description
The whitepoint/standard illuminant.
Illuminant | X | Y | Z |
---|---|---|---|
A | 1.09850 | 1.00000 | 0.35585 |
B | 0.99072 | 1.00000 | 0.85223 |
C | 0.98074 | 1.00000 | 1.18232 |
D50 | 0.96422 | 1.00000 | 0.82521 |
D55 | 0.95682 | 1.00000 | 0.92149 |
D65 | 0.95047 | 1.00000 | 1.08883 |
D75 | 0.94972 | 1.00000 | 1.22638 |
E | 1.00000 | 1.00000 | 1.00000 |
F2 | 0.99186 | 1.00000 | 0.67393 |
F7 | 0.95041 | 1.00000 | 1.08747 |
F11 | 1.00962 | 1.00000 | 0.64350 |
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
A
B
C
D50
D55
D65
D75
E
F2
F7
F11
Implementations
Trait Implementations
sourceimpl Clone for Whitepoint
impl Clone for Whitepoint
sourcefn clone(&self) -> Whitepoint
fn clone(&self) -> Whitepoint
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 more
sourceimpl Debug for Whitepoint
impl Debug for Whitepoint
sourceimpl PartialEq<Whitepoint> for Whitepoint
impl PartialEq<Whitepoint> for Whitepoint
impl Copy for Whitepoint
impl Eq for Whitepoint
impl StructuralEq for Whitepoint
impl StructuralPartialEq for Whitepoint
Auto Trait Implementations
impl RefUnwindSafe for Whitepoint
impl Send for Whitepoint
impl Sync for Whitepoint
impl Unpin for Whitepoint
impl UnwindSafe for Whitepoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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