Debian Codegraph @

src/white_point.rs

raw symbols SCIP
1 //! Defines the tristimulus values of the CIE Illuminants.
2 //!
3 //! White point is the reference white or target white as seen by a standard
4 //! observer under a standard illuminant. For example, photographs taken indoors
5 //! may be lit by incandescent lights, which are relatively orange compared to
6 //! daylight. Defining "white" as daylight will give unacceptable results when
7 //! attempting to color-correct a photograph taken with incandescent lighting.
8
9 use craterust-analyzer cargo palette 0.7.6 crate/::{numrust-analyzer cargo palette 0.7.6 num/::Realrust-analyzer cargo palette 0.7.6 num/Real#, Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#};
10
11 /// Represents an unspecified reference white point.
12 ///
13 /// Some color spaces (such as `Xyz` and `Yxy`) or operations don't necessarily
14 /// need a known intended white point. `Any` may be used as a placeholder type
15 /// in those situations.
16 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
17 pub struct Anyrust-analyzer cargo palette 0.7.6 white_point/Any#;
18
19 /// WhitePoint defines the Xyz color co-ordinates for a given white point.
20 ///
21 /// A white point (often referred to as reference white or target white in
22 /// technical documents) is a set of tristimulus values or chromaticity
23 /// coordinates that serve to define the color "white" in image capture,
24 /// encoding, or reproduction.
25 ///
26 /// Custom white points can be easily defined on an empty struct with the
27 /// tristimulus values and can be used in place of the ones defined in this
28 /// library.
29 pub trait WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T>: 'static {
30 /// Get the Xyz chromaticity co-ordinates for the white point.
31 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T>;
32 }
33
34 /// CIE standard illuminant A
35 ///
36 /// CIE standard illuminant A is intended to represent typical, domestic,
37 /// tungsten-filament lighting. Its relative spectral power distribution is that
38 /// of a Planckian radiator at a temperature of approximately 2856 K. Uses the
39 /// CIE 1932 2° Standard Observer
40 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
41 pub struct Arust-analyzer cargo palette 0.7.6 white_point/A#;
42 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for Arust-analyzer cargo palette 0.7.6 white_point/A# {
43 #[inline]
44 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[A][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
45 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.09850), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.35585))
46 }
47 }
48 /// CIE standard illuminant B
49 ///
50 /// CIE standard illuminant B represents noon sunlight, with a correlated color
51 /// temperature (CCT) of 4874 K Uses the CIE 1932 2° Standard Observer
52 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
53 pub struct Brust-analyzer cargo palette 0.7.6 white_point/B#;
54 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for Brust-analyzer cargo palette 0.7.6 white_point/B# {
55 #[inline]
56 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[B][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
57 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.99072), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.85223))
58 }
59 }
60 /// CIE standard illuminant C
61 ///
62 /// CIE standard illuminant C represents the average day light with a CCT of
63 /// 6774 K Uses the CIE 1932 2° Standard Observer
64 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
65 pub struct Crust-analyzer cargo palette 0.7.6 white_point/C#;
66 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for Crust-analyzer cargo palette 0.7.6 white_point/C# {
67 #[inline]
68 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[C][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
69 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.98074), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.18232))
70 }
71 }
72 /// CIE D series standard illuminant - D50
73 ///
74 /// D50 White Point is the natural daylight with a color temperature of around
75 /// 5000K for 2° Standard Observer.
76 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
77 pub struct D50rust-analyzer cargo palette 0.7.6 white_point/D50#;
78 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D50rust-analyzer cargo palette 0.7.6 white_point/D50# {
79 #[inline]
80 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D50][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
81 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.96422), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.82521))
82 }
83 }
84 /// CIE D series standard illuminant - D55
85 ///
86 /// D55 White Point is the natural daylight with a color temperature of around
87 /// 5500K for 2° Standard Observer.
88 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
89 pub struct D55rust-analyzer cargo palette 0.7.6 white_point/D55#;
90 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D55rust-analyzer cargo palette 0.7.6 white_point/D55# {
91 #[inline]
92 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D55][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
93 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.95682), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.92149))
94 }
95 }
96 /// CIE D series standard illuminant - D65
97 ///
98 /// D65 White Point is the natural daylight with a color temperature of 6500K
99 /// for 2° Standard Observer.
100 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
101 pub struct D65rust-analyzer cargo palette 0.7.6 white_point/D65#;
102 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D65rust-analyzer cargo palette 0.7.6 white_point/D65# {
103 #[inline]
104 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D65][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
105 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.95047), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.08883))
106 }
107 }
108 /// CIE D series standard illuminant - D75
109 ///
110 /// D75 White Point is the natural daylight with a color temperature of around
111 /// 7500K for 2° Standard Observer.
112 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
113 pub struct D75rust-analyzer cargo palette 0.7.6 white_point/D75#;
114 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D75rust-analyzer cargo palette 0.7.6 white_point/D75# {
115 #[inline]
116 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D75][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
117 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.94972), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.22638))
118 }
119 }
120 /// CIE standard illuminant E
121 ///
122 /// CIE standard illuminant E represents the equal energy radiator
123 /// Uses the CIE 1932 2° Standard Observer
124 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
125 pub struct Erust-analyzer cargo palette 0.7.6 white_point/E#;
126 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for Erust-analyzer cargo palette 0.7.6 white_point/E# {
127 #[inline]
128 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[E][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
129 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0))
130 }
131 }
132 /// CIE fluorescent illuminant series - F2
133 ///
134 /// F2 represents a semi-broadband fluorescent lamp for 2° Standard Observer.
135 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
136 pub struct F2rust-analyzer cargo palette 0.7.6 white_point/F2#;
137 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for F2rust-analyzer cargo palette 0.7.6 white_point/F2# {
138 #[inline]
139 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[F2][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
140 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.99186), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.67393))
141 }
142 }
143 /// CIE fluorescent illuminant series - F7
144 ///
145 /// F7 represents a broadband fluorescent lamp for 2° Standard Observer.
146 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
147 pub struct F7rust-analyzer cargo palette 0.7.6 white_point/F7#;
148 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for F7rust-analyzer cargo palette 0.7.6 white_point/F7# {
149 #[inline]
150 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[F7][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
151 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.95041), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.08747))
152 }
153 }
154 /// CIE fluorescent illuminant series - F11
155 ///
156 /// F11 represents a narrowband fluorescent lamp for 2° Standard Observer.
157 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
158 pub struct F11rust-analyzer cargo palette 0.7.6 white_point/F11#;
159 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for F11rust-analyzer cargo palette 0.7.6 white_point/F11# {
160 #[inline]
161 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[F11][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
162 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.00962), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.64350))
163 }
164 }
165 /// CIE D series standard illuminant - D50
166 ///
167 /// D50 White Point is the natural daylight with a color temperature of around
168 /// 5000K for 10° Standard Observer.
169 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
170 pub struct D50Degree10rust-analyzer cargo palette 0.7.6 white_point/D50Degree10#;
171 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D50Degree10rust-analyzer cargo palette 0.7.6 white_point/D50Degree10# {
172 #[inline]
173 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D50Degree10][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
174 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.9672), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.8143))
175 }
176 }
177 /// CIE D series standard illuminant - D55
178 ///
179 /// D55 White Point is the natural daylight with a color temperature of around
180 /// 5500K for 10° Standard Observer.
181 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
182 pub struct D55Degree10rust-analyzer cargo palette 0.7.6 white_point/D55Degree10#;
183 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D55Degree10rust-analyzer cargo palette 0.7.6 white_point/D55Degree10# {
184 #[inline]
185 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D55Degree10][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
186 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.958), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.9093))
187 }
188 }
189 /// CIE D series standard illuminant - D65
190 ///
191 /// D65 White Point is the natural daylight with a color temperature of 6500K
192 /// for 10° Standard Observer.
193 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
194 pub struct D65Degree10rust-analyzer cargo palette 0.7.6 white_point/D65Degree10#;
195 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D65Degree10rust-analyzer cargo palette 0.7.6 white_point/D65Degree10# {
196 #[inline]
197 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D65Degree10][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
198 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.9481), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.073))
199 }
200 }
201 /// CIE D series standard illuminant - D75
202 ///
203 /// D75 White Point is the natural daylight with a color temperature of around
204 /// 7500K for 10° Standard Observer.
205 #[deriverust-analyzer cargo core https://github.com/rust-lang/rust/library/core macros/builtin/derive:(Copyrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Copy:, Clonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core clone/Clone:, Debugrust-analyzer cargo core https://github.com/rust-lang/rust/library/core fmt/macros/Debug:, PartialEqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/PartialEq:, Eqrust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/Eq:)]
206 pub struct D75Degree10rust-analyzer cargo palette 0.7.6 white_point/D75Degree10#;
207 impl<T: Realrust-analyzer cargo palette 0.7.6 num/Real#> WhitePointrust-analyzer cargo palette 0.7.6 white_point/WhitePoint#<T> for D75Degree10rust-analyzer cargo palette 0.7.6 white_point/D75Degree10# {
208 #[inline]
209 fn get_xyzrust-analyzer cargo palette 0.7.6 white_point/impl#[D75Degree10][`WhitePoint<T>`]get_xyz().() -> Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#<Anyrust-analyzer cargo palette 0.7.6 white_point/Any#, T> {
210 Xyzrust-analyzer cargo palette 0.7.6 xyz/Xyz#::newrust-analyzer cargo palette 0.7.6 xyz/impl#[`Xyz<Wp, T>`]new().(T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(0.94416), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.0), T::from_f64rust-analyzer cargo palette 0.7.6 num/Real#from_f64().(1.2064))
211 }
212 }