Struct image::pnm::BitmapHeader[][src]

pub struct BitmapHeader {
    pub encoding: SampleEncoding,
    pub height: u32,
    pub width: u32,
}

Header produced by a pbm file ("Portable Bit Map")

Fields

Binary or Ascii encoded file

Height of the image file

Width of the image file

Trait Implementations

impl Clone for BitmapHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BitmapHeader
[src]

impl Debug for BitmapHeader
[src]

Formats the value using the given formatter. Read more

impl From<BitmapHeader> for PNMHeader
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for BitmapHeader

impl Sync for BitmapHeader