Struct playdate_rs::graphics::BitmapData
source · pub struct BitmapData {
pub width: i32,
pub height: i32,
pub rowbytes: i32,
pub mask: *mut u8,
pub data: *mut u8,
}Fields§
§width: i32§height: i32§rowbytes: i32§mask: *mut u8§data: *mut u8Trait Implementations§
source§impl Clone for BitmapData
impl Clone for BitmapData
source§fn clone(&self) -> BitmapData
fn clone(&self) -> BitmapData
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 moresource§impl Debug for BitmapData
impl Debug for BitmapData
source§impl PartialEq<BitmapData> for BitmapData
impl PartialEq<BitmapData> for BitmapData
source§fn eq(&self, other: &BitmapData) -> bool
fn eq(&self, other: &BitmapData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for BitmapData
impl StructuralEq for BitmapData
impl StructuralPartialEq for BitmapData
Auto Trait Implementations§
impl RefUnwindSafe for BitmapData
impl !Send for BitmapData
impl !Sync for BitmapData
impl Unpin for BitmapData
impl UnwindSafe for BitmapData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more