Struct touptek::Image
[−]
[src]
pub struct Image { pub resolution: Resolution, pub bits: u32, pub data: Vec<u8>, }
Fields
resolution: Resolution
bits: u32
data: Vec<u8>
Trait Implementations
impl Clone for Image
[src]
fn clone(&self) -> Image
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
impl PartialEq for Image
[src]
fn eq(&self, __arg_0: &Image) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Image) -> bool
This method tests for !=
.