Enum scarlet::colorpoint::ColorCalcError
[−]
[src]
pub enum ColorCalcError { MismatchedWeights, }
Some errors that might pop up when dealing with colors as coordinates.
Variants
MismatchedWeights
Returned when the number of weights given and the number of colors being averaged differ.
Trait Implementations
impl Debug for ColorCalcError
[src]
impl Copy for ColorCalcError
[src]
impl Clone for ColorCalcError
[src]
fn clone(&self) -> ColorCalcError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ColorCalcError
[src]
fn eq(&self, __arg_0: &ColorCalcError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.