#[repr(C, packed(4))]pub struct BitmapLockInfoInterop {
pub ptrData: *mut c_void,
pub ptrDataRoi: *mut c_void,
pub stride: c_uint,
pub size: c_ulong,
}Expand description
This structure contains information about a locked bitmap-object, allowing direct access to the pixel data.
Fields§
§ptrData: *mut c_void< Not currently used, to be ignored.
ptrDataRoi: *mut c_void< The pointer to the first (top-left) pixel of the bitmap.
stride: c_uint< The stride of the bitmap data (pointed to by ptrDataRoi).
size: c_ulong< The size of the bitmap data (pointed to by ptrDataRoi) in bytes.
Trait Implementations§
Source§impl Clone for BitmapLockInfoInterop
impl Clone for BitmapLockInfoInterop
Source§fn clone(&self) -> BitmapLockInfoInterop
fn clone(&self) -> BitmapLockInfoInterop
Returns a duplicate 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 BitmapLockInfoInterop
impl Debug for BitmapLockInfoInterop
impl Copy for BitmapLockInfoInterop
Auto Trait Implementations§
impl Freeze for BitmapLockInfoInterop
impl RefUnwindSafe for BitmapLockInfoInterop
impl !Send for BitmapLockInfoInterop
impl !Sync for BitmapLockInfoInterop
impl Unpin for BitmapLockInfoInterop
impl UnsafeUnpin for BitmapLockInfoInterop
impl UnwindSafe for BitmapLockInfoInterop
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