usestd::error;usestd::fmt;/// An error for when a color, through a conversion, can not be represented in the color gamut of a
/// destination color space.
#[derive(Debug)]pubstructOutOfGamut;implfmt::Display forOutOfGamut{fnfmt(&self, f:&mutfmt::Formatter)->fmt::Result{write!(f,"color is out of gamut")}}implerror::Error forOutOfGamut{}