Struct image::codecs::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: SampleEncodingBinary or Ascii encoded file
height: u32Height of the image file
width: u32Width of the image file
maxwhite: u32Maximum 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]