Enum image::pnm::PNMSubtype [] [src]

pub enum PNMSubtype {
    Bitmap(SampleEncoding),
    Graymap(SampleEncoding),
    Pixmap(SampleEncoding),
    ArbitraryMap,
}

Denotes the category of the magic number

Variants

Magic numbers P1 and P4

Magic numbers P2 and P5

Magic numbers P3 and P6

Magic number P7

Methods

impl PNMSubtype
[src]

[src]

Get the two magic constant bytes corresponding to this format subtype.

[src]

Whether samples are stored as binary or as decimal ascii

Trait Implementations

impl Clone for PNMSubtype
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for PNMSubtype
[src]

impl PartialEq for PNMSubtype
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for PNMSubtype
[src]

impl Debug for PNMSubtype
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for PNMSubtype

impl Sync for PNMSubtype