Struct playdate_rs::graphics::BitmapData
source · pub struct BitmapData<'a> {
pub width: i32,
pub height: i32,
pub rowbytes: i32,
pub mask: *mut u8,
pub data: *mut u8,
/* private fields */
}Fields§
§width: i32§height: i32§rowbytes: i32§mask: *mut u8§data: *mut u8Trait Implementations§
source§impl<'a> Clone for BitmapData<'a>
impl<'a> Clone for BitmapData<'a>
source§fn clone(&self) -> BitmapData<'a>
fn clone(&self) -> BitmapData<'a>
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<'a> Debug for BitmapData<'a>
impl<'a> Debug for BitmapData<'a>
source§impl<'a> PartialEq<BitmapData<'a>> for BitmapData<'a>
impl<'a> PartialEq<BitmapData<'a>> for BitmapData<'a>
source§fn eq(&self, other: &BitmapData<'a>) -> bool
fn eq(&self, other: &BitmapData<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for BitmapData<'a>
impl<'a> StructuralEq for BitmapData<'a>
impl<'a> StructuralPartialEq for BitmapData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BitmapData<'a>
impl<'a> !Send for BitmapData<'a>
impl<'a> !Sync for BitmapData<'a>
impl<'a> Unpin for BitmapData<'a>
impl<'a> UnwindSafe for BitmapData<'a>
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