[][src]Struct tinybmp::Header

pub struct Header {
    pub file_type: FileType,
    pub file_size: u32,
    pub reserved_1: u16,
    pub reserved_2: u16,
    pub image_data_start: usize,
    pub image_width: u32,
    pub image_height: u32,
    pub bpp: u16,
    pub image_data_len: u32,

BMP header information


file_type: FileType

Bitmap file type

file_size: u32

Total file size in bytes

reserved_1: u16

Reserved field 1

reserved_2: u16

Reserved field 2

image_data_start: usize

Byte offset from beginning of file at which pixel data begins

image_width: u32

Image width in pixels

image_height: u32

Image height in pixels

bpp: u16

Number of bits per pixel

image_data_len: u32

Length in bytes of the image data

Trait Implementations

impl Debug for Header[src]

impl PartialEq<Header> for Header[src]

impl Clone for Header[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Header

impl Sync for Header

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized