#[repr(C)]pub struct FREBitmapData2 {
pub width: u32,
pub height: u32,
pub hasAlpha: u32,
pub isPremultiplied: u32,
pub lineStride32: u32,
pub isInvertedY: 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
isInvertedY: u32if non-zero, last row of pixels starts at bits32, otherwise, first row of pixels starts at bits32.
bits32: *mut u32pointer to the first 32-bit pixel of the bitmap data
Trait Implementations§
Source§impl Debug for FREBitmapData2
impl Debug for FREBitmapData2
Source§impl Default for FREBitmapData2
impl Default for FREBitmapData2
Source§fn default() -> FREBitmapData2
fn default() -> FREBitmapData2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FREBitmapData2
impl RefUnwindSafe for FREBitmapData2
impl !Send for FREBitmapData2
impl !Sync for FREBitmapData2
impl Unpin for FREBitmapData2
impl UnsafeUnpin for FREBitmapData2
impl UnwindSafe for FREBitmapData2
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