Enum image::pnm::PNMSubtype [−][src]
pub enum PNMSubtype { Bitmap(SampleEncoding), Graymap(SampleEncoding), Pixmap(SampleEncoding), ArbitraryMap, }
Expand description
Denotes the category of the magic number
DEPRECATED: The name of this enum will be changed to PnmSubtype
.
TODO: rename to PnmSubtype
.
Variants
Bitmap(SampleEncoding)
Magic numbers P1 and P4
Graymap(SampleEncoding)
Magic numbers P2 and P5
Pixmap(SampleEncoding)
Magic numbers P3 and P6
Magic number P7
Implementations
Get the two magic constant bytes corresponding to this format subtype.
Whether samples are stored as binary or as decimal ascii
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PNMSubtype
impl Send for PNMSubtype
impl Sync for PNMSubtype
impl Unpin for PNMSubtype
impl UnwindSafe for PNMSubtype
Blanket Implementations
Mutably borrows from an owned value. Read more