#[repr(C)]pub struct FREBitmapData {
pub width: u32,
pub height: u32,
pub hasAlpha: u32,
pub isPremultiplied: u32,
pub lineStride32: u32,
pub bits32: *mut u32,
}Fields§
§width: u32width of the BitmapData bitmap
height: u32height of the BitmapData bitmap
hasAlpha: u32if non-zero, pixel format is ARGB32, otherwise pixel format is _RGB32, host endianness
isPremultiplied: u32pixel color values are premultiplied with alpha if non-zero, un-multiplied if zero
lineStride32: u32line stride in number of 32 bit values, typically the same as width
bits32: *mut u32pointer to the first 32-bit pixel of the bitmap data
Trait Implementations§
Source§impl Debug for FREBitmapData
impl Debug for FREBitmapData
Source§impl Default for FREBitmapData
impl Default for FREBitmapData
Source§fn default() -> FREBitmapData
fn default() -> FREBitmapData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FREBitmapData
impl RefUnwindSafe for FREBitmapData
impl !Send for FREBitmapData
impl !Sync for FREBitmapData
impl Unpin for FREBitmapData
impl UnsafeUnpin for FREBitmapData
impl UnwindSafe for FREBitmapData
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