Struct image::pnm::PixmapHeader [−][src]
pub struct PixmapHeader { pub encoding: SampleEncoding, pub height: u32, pub width: u32, pub maxval: u32, }
Expand description
Header produced by a ppm
file (“Portable Pixel Map”)
Fields
encoding: SampleEncoding
Binary or Ascii encoded file
height: u32
Height of the image file
width: u32
Width of the image file
maxval: u32
Maximum sample value within the image
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PixmapHeader
impl Send for PixmapHeader
impl Sync for PixmapHeader
impl Unpin for PixmapHeader
impl UnwindSafe for PixmapHeader
Blanket Implementations
Mutably borrows from an owned value. Read more