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: 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 BitmapHeaderfn clone(&self) -> BitmapHeader[src]
fn clone(&self) -> BitmapHeaderReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for BitmapHeader[src]
impl Copy for BitmapHeaderimpl Debug for BitmapHeader[src]
impl Debug for BitmapHeaderfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<BitmapHeader> for PNMHeader[src]
impl From<BitmapHeader> for PNMHeaderfn from(header: BitmapHeader) -> Self[src]
fn from(header: BitmapHeader) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for BitmapHeader
impl Send for BitmapHeaderimpl Sync for BitmapHeader
impl Sync for BitmapHeader