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