pub struct PixelRect {
pub w: usize,
pub h: usize,
pub pixels: Vec<u8>,
}Expand description
A width * height block of palette-index pixels, one per cell, row-major.
Fields§
§w: usize§h: usize§pixels: Vec<u8>Auto Trait Implementations§
impl Freeze for PixelRect
impl RefUnwindSafe for PixelRect
impl Send for PixelRect
impl Sync for PixelRect
impl Unpin for PixelRect
impl UnsafeUnpin for PixelRect
impl UnwindSafe for PixelRect
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