#[repr(C)]pub struct FREBitmapData {
pub width: u32,
pub height: u32,
pub hasAlpha: u32,
pub isPremultiplied: u32,
pub lineStride32: 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.
bits32: *mut u32Pointer to the first 32-bit pixel of the bitmap data.
Trait Implementations§
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