Struct PixmapHeader
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
encoding: SampleEncodingBinary or Ascii encoded file
height: u32Height of the image file
width: u32Width of the image file
maxval: u32Maximum sample value within the image
Trait Implementations
impl Clone for PixmapHeader
fn clone(&self) -> Self
impl Copy for PixmapHeader
impl Debug for PixmapHeader
fn fmt(&self, f: &mut Formatter<'_>) -> Result