#[repr(C)]pub struct MLNImageData {
pub data: *mut c_uchar,
pub data_len: size_t,
pub width: c_uint,
pub height: c_uint,
}Expand description
Rendered image data
Fields§
§data: *mut c_ucharRGBA pixel data (premultiplied alpha)
data_len: size_tLength in bytes (width * height * 4)
width: c_uintImage width in pixels
height: c_uintImage height in pixels
Trait Implementations§
Source§impl Debug for MLNImageData
impl Debug for MLNImageData
Auto Trait Implementations§
impl Freeze for MLNImageData
impl RefUnwindSafe for MLNImageData
impl !Send for MLNImageData
impl !Sync for MLNImageData
impl Unpin for MLNImageData
impl UnsafeUnpin for MLNImageData
impl UnwindSafe for MLNImageData
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