Enum printpdf::color::ColorSpace
source · [−]pub enum ColorSpace {
Rgb,
Rgba,
Palette,
Cmyk,
Greyscale,
GreyscaleAlpha,
}
Expand description
Color space (enum for marking the number of bits a color has)
Variants
Rgb
Rgba
Palette
Cmyk
Greyscale
GreyscaleAlpha
Trait Implementations
sourceimpl Clone for ColorSpace
impl Clone for ColorSpace
sourcefn clone(&self) -> ColorSpace
fn clone(&self) -> ColorSpace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorSpace
impl Debug for ColorSpace
sourceimpl From<ColorType> for ColorSpace
impl From<ColorType> for ColorSpace
sourceimpl Into<&'static str> for ColorSpace
impl Into<&'static str> for ColorSpace
impl Copy for ColorSpace
Auto Trait Implementations
impl RefUnwindSafe for ColorSpace
impl Send for ColorSpace
impl Sync for ColorSpace
impl Unpin for ColorSpace
impl UnwindSafe for ColorSpace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more