Struct arqoii_types::CoderState
source · pub struct CoderState {
pub previous: Pixel,
pub index: [Pixel; 64],
pub run: u8,
}
Expand description
The internal state of a Qoi{De,En}coder
Fields§
§previous: Pixel
§index: [Pixel; 64]
§run: u8
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for CoderState
impl Send for CoderState
impl Sync for CoderState
impl Unpin for CoderState
impl UnwindSafe for CoderState
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