pub struct PixelRun {
pub pixel_code: u8,
pub run_length: u32,
}Expand description
One decoded run from a 2/4/8-bit pixel-data code string (Tables 22-26):
run_length (>= 1) consecutive pixels painted with CLUT entry pixel_code.
Fields§
§pixel_code: u8The CLUT entry index for this run.
run_length: u32How many consecutive pixels carry pixel_code.
Trait Implementations§
impl Copy for PixelRun
impl Eq for PixelRun
impl StructuralPartialEq for PixelRun
Auto Trait Implementations§
impl Forget for PixelRun
impl Freeze for PixelRun
impl Move for PixelRun
impl RefUnwindSafe for PixelRun
impl Send for PixelRun
impl Sync for PixelRun
impl Unpin for PixelRun
impl UnsafeUnpin for PixelRun
impl UnwindSafe for PixelRun
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