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: u8Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoderState
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