pub struct Bitmap {
pub left: i32,
pub top: i32,
pub w: i32,
pub h: i32,
pub px: Vec<u8>,
}Expand description
a colour glyph bitmap: placement relative to pen x / baseline, PARGB pixels (stride 4 w)
Fields§
§left: i32§top: i32§w: i32§h: i32§px: Vec<u8>Auto Trait Implementations§
impl Forget for Bitmap
impl Freeze for Bitmap
impl RefUnwindSafe for Bitmap
impl Send for Bitmap
impl Sync for Bitmap
impl Unpin for Bitmap
impl UnsafeUnpin for Bitmap
impl UnwindSafe for Bitmap
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