Struct microbmp::Bitmap
[−]
[src]
pub struct Bitmap { pub data: Vec<u8>, pub size: u32, pub offset: u32, pub header: BitmapV5Header, pub pixels: Vec<Pixel>, }
Fields
data: Vec<u8>
size: u32
offset: u32
header: BitmapV5Header
pixels: Vec<Pixel>
Methods
impl Bitmap
[src]
fn new(file: &mut File) -> BitmapResult<Bitmap>
Trait Implementations
impl Debug for Bitmap
[src]
impl Clone for Bitmap
[src]
fn clone(&self) -> Bitmap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more