pub struct ImageMark {
pub bounds: BoundingBox,
pub data: Vec<u8>,
pub width: u32,
pub height: u32,
}Expand description
An image/raster data mark.
Fields§
§bounds: BoundingBoxPosition and size.
data: Vec<u8>RGBA pixel data.
width: u32Width in pixels.
height: u32Height in pixels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImageMark
impl RefUnwindSafe for ImageMark
impl Send for ImageMark
impl Sync for ImageMark
impl Unpin for ImageMark
impl UnsafeUnpin for ImageMark
impl UnwindSafe for ImageMark
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