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