#[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,
}Expand description
A non-owning descriptor for bitmap data.
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§
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