Enum rgb_derivation::Error [−][src]
Possible errors which can occur when performing calculations.
Variants
Error returned when trying to create Chromaticity
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: Eq> Eq for Error<K>
[src]
impl<K> StructuralEq for Error<K>
[src]
impl<K> StructuralPartialEq for Error<K>
[src]
Auto Trait Implementations
impl<K> RefUnwindSafe for Error<K> where
K: RefUnwindSafe,
K: RefUnwindSafe,
impl<K> Send for Error<K> where
K: Send,
K: Send,
impl<K> Sync for Error<K> where
K: Sync,
K: Sync,
impl<K> Unpin for Error<K> where
K: Unpin,
K: Unpin,
impl<K> UnwindSafe for Error<K> where
K: UnwindSafe,
K: UnwindSafe,