Struct tinybmp::Header [−][src]
pub struct Header { pub file_size: u32, pub image_data_start: usize, pub image_size: Size, pub bpp: Bpp, pub image_data_len: u32, pub channel_masks: Option<ChannelMasks>, pub row_order: RowOrder, }
Expand description
BMP header information
Fields
file_size: u32
Total file size in bytes.
image_data_start: usize
Byte offset from beginning of file at which pixel data begins.
image_size: Size
Image size in pixels.
bpp: Bpp
Number of bits per pixel.
image_data_len: u32
Length in bytes of the image data.
channel_masks: Option<ChannelMasks>
Bit masks for the color channels.
row_order: RowOrder
Row order of the image data within the file
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.