Struct image::pnm::PixmapHeader[][src]

pub struct PixmapHeader {
    pub encoding: SampleEncoding,
    pub height: u32,
    pub width: u32,
    pub maxval: u32,
}

Header produced by a ppm file ("Portable Pixel 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 PixmapHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PixmapHeader
[src]

impl Debug for PixmapHeader
[src]

Formats the value using the given formatter. Read more

impl From<PixmapHeader> for PNMHeader
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for PixmapHeader

impl Sync for PixmapHeader