Struct speedy2d::image::RawBitmapData
source · pub struct RawBitmapData { /* private fields */ }
Expand description
A type to represent some raw pixel data, with an associated width and height in pixels.
Implementations§
source§impl RawBitmapData
impl RawBitmapData
sourcepub fn format(&self) -> ImageDataType
pub fn format(&self) -> ImageDataType
Returns the format of this data.
Trait Implementations§
source§impl Clone for RawBitmapData
impl Clone for RawBitmapData
source§fn clone(&self) -> RawBitmapData
fn clone(&self) -> RawBitmapData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more