Enum tiff::ColorType [−][src]
An enumeration over supported color types and their bit depths
Variants
Gray(u8)
Pixel is grayscale
RGB(u8)
Pixel contains R, G and B channels
Palette(u8)
Pixel is an index into a color palette
GrayA(u8)
Pixel is grayscale with an alpha channel
RGBA(u8)
Pixel is RGB with an alpha channel
Trait Implementations
impl Copy for ColorType
[src]
impl Copy for ColorType
impl PartialEq for ColorType
[src]
impl PartialEq for ColorType
fn eq(&self, other: &ColorType) -> bool
[src]
fn eq(&self, other: &ColorType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ColorType) -> bool
[src]
fn ne(&self, other: &ColorType) -> bool
This method tests for !=
.
impl Eq for ColorType
[src]
impl Eq for ColorType
impl Debug for ColorType
[src]
impl Debug for ColorType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ColorType
[src]
impl Clone for ColorType
fn clone(&self) -> ColorType
[src]
fn clone(&self) -> ColorType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Hash for ColorType
[src]
impl Hash for ColorType