Struct image::codecs::pnm::BitmapHeader [−][src]
pub struct BitmapHeader { pub encoding: SampleEncoding, pub height: u32, pub width: u32, }
Header produced by a pbm
file (“Portable Bit Map”)
Fields
encoding: SampleEncoding
Binary or Ascii encoded file
height: u32
Height of the image file
width: u32
Width of the image file
Trait Implementations
impl Clone for BitmapHeader
[src]
impl Clone for BitmapHeader
[src]fn clone(&self) -> BitmapHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<BitmapHeader> for PnmHeader
[src]
impl From<BitmapHeader> for PnmHeader
[src]