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
encoding: SampleEncoding
Binary or Ascii encoded file
height: u32
Height of the image file
width: u32
Width of the image file
maxwhite: u32
Maximum sample value within the image
Trait Implementations
impl Clone for GraymapHeader
[src]
impl Clone for GraymapHeader
[src]fn clone(&self) -> GraymapHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<GraymapHeader> for PnmHeader
[src]
impl From<GraymapHeader> for PnmHeader
[src]