Struct BitmapData
#[repr(C)]pub struct BitmapData {
pub Width: u32,
pub Height: u32,
pub Stride: i32,
pub PixelFormat: i32,
pub Scan0: *mut c_void,
pub Reserved: usize,
}
Fields§
§Width: u32
§Height: u32
§Stride: i32
§PixelFormat: i32
§Scan0: *mut c_void
§Reserved: usize
Trait Implementations§
§impl Clone for BitmapData
impl Clone for BitmapData
§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 moreimpl Copy for BitmapData
Auto Trait Implementations§
impl Freeze for BitmapData
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