Struct GraymapHeader
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
fn clone(&self) -> Self
impl Copy for GraymapHeader
impl Debug for GraymapHeader
fn fmt(&self, f: &mut Formatter<'_>) -> Result