Struct image::pnm::GraymapHeader [] [src]

pub struct GraymapHeader {
    pub encoding: SampleEncoding,
    pub height: u32,
    pub width: u32,
    pub maxwhite: u32,
}

Header produced by a pgm file ("Portable Gray Map")

Fields

Binary or Ascii encoded file

Height of the image file

Width of the image file

Maximum sample value within the image

Trait Implementations

impl Clone for GraymapHeader
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for GraymapHeader
[src]

impl Debug for GraymapHeader
[src]

[src]

Formats the value using the given formatter. Read more

impl From<GraymapHeader> for PNMHeader
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for GraymapHeader

impl Sync for GraymapHeader