Struct image::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: 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[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]