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: SampleEncodingBinary or Ascii encoded file
height: u32Height of the image file
width: u32Width of the image file
maxwhite: u32Maximum 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