Enum image::pnm::ArbitraryTuplType [−][src]
pub enum ArbitraryTuplType {
BlackAndWhite,
BlackAndWhiteAlpha,
Grayscale,
GrayscaleAlpha,
RGB,
RGBAlpha,
Custom(String),
}
Expand description
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)
Tuple Fields
0: String
An image format which is not standardized
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArbitraryTuplType
impl Send for ArbitraryTuplType
impl Sync for ArbitraryTuplType
impl Unpin for ArbitraryTuplType
impl UnwindSafe for ArbitraryTuplType
Blanket Implementations
Mutably borrows from an owned value. Read more