Enum rgb_derivation::Error [−][src]
Possible errors which can occur when performing calculations.
Variants
Error returned when trying to create Chromacity
with either of the
coordinates being a non-positive number. The two arguments are the
coordinates which caused the issue.
Error returned if provided reference white point has non-positive
luminosity (the Y
component). The argument are the XYZ coordinates of
the white point which caused the issue.
Error returned when XYZ coordinates of primaries are linearly dependent. That is, when one of the primaries is a linear combination of the other two.
Trait Implementations
impl<K> StructuralEq for Error<K>
[src]
impl<K> StructuralEq for Error<K>
[src]impl<K> StructuralPartialEq for Error<K>
[src]
impl<K> StructuralPartialEq for Error<K>
[src]Auto Trait Implementations
impl<K> RefUnwindSafe for Error<K> where
K: RefUnwindSafe,
impl<K> RefUnwindSafe for Error<K> where
K: RefUnwindSafe,
impl<K> UnwindSafe for Error<K> where
K: UnwindSafe,
impl<K> UnwindSafe for Error<K> where
K: UnwindSafe,