Struct image::codecs::pnm::PixmapHeader [−][src]
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: 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
impl Clone for PixmapHeader
[src]
impl Clone for PixmapHeader
[src]fn clone(&self) -> PixmapHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<PixmapHeader> for PnmHeader
[src]
impl From<PixmapHeader> for PnmHeader
[src]