Struct imagefmt::Image
[−]
[src]
pub struct Image<T> { pub w: usize, pub h: usize, pub fmt: ColFmt, pub buf: Vec<T>, }
Image struct returned from the read functions.
Fields
w: usize
h: usize
fmt: ColFmt
buf: Vec<T>
Methods
impl<T: Sample> Image<T>
[src]
Trait Implementations
impl<T: Clone> Clone for Image<T>
[src]
fn clone(&self) -> Image<T>
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