pub enum Part {
RGBA(u8, u8, u8, u8),
RGB(u8, u8, u8),
Run(u8),
SmallDiff(i8, i8, i8),
LumaDiff(i8, i8, i8),
Idx(u8),
}Expand description
A decoded version of a qoi Part/Chunk (I had to rewrite to add this API) All values stored unbiased
Variants§
RGBA(u8, u8, u8, u8)
RGB(u8, u8, u8)
Run(u8)
SmallDiff(i8, i8, i8)
LumaDiff(i8, i8, i8)
drdg db dbdg
Idx(u8)
Implementations§
Trait Implementations§
impl Copy for Part
impl StructuralPartialEq for Part
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnwindSafe for Part
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