Enum image::pnm::ArbitraryTuplType [−][src]
pub enum ArbitraryTuplType { BlackAndWhite, BlackAndWhiteAlpha, Grayscale, GrayscaleAlpha, RGB, RGBAlpha, Custom(String), }
Standardized tuple type specifiers in the header of a pam
.
Variants
BlackAndWhite
Pixels are either black (0) or white (1)
BlackAndWhiteAlpha
Pixels are either black (0) or white (1) and a second alpha channel
Grayscale
Pixels represent the amount of white
GrayscaleAlpha
Grayscale with an additional alpha channel
RGB
Three channels: Red, Green, Blue
RGBAlpha
Four channels: Red, Green, Blue, Alpha
Custom(String)
An image format which is not standardized
Trait Implementations
impl Clone for ArbitraryTuplType
[src]
impl Clone for ArbitraryTuplType
fn clone(&self) -> ArbitraryTuplType
[src]
fn clone(&self) -> ArbitraryTuplType
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 Debug for ArbitraryTuplType
[src]
impl Debug for ArbitraryTuplType
Auto Trait Implementations
impl Send for ArbitraryTuplType
impl Send for ArbitraryTuplType
impl Sync for ArbitraryTuplType
impl Sync for ArbitraryTuplType