struct ChunkState {
    type_: ChunkType,
    crc: Hasher,
    remaining: u32,
    raw_bytes: Vec<u8>,
}Fields§
§type_: ChunkTypeThe type of the current chunk.
Relevant for IDAT and fdAT which aggregate consecutive chunks of their own type.
crc: HasherPartial crc until now.
remaining: u32Remaining bytes to be read.
raw_bytes: Vec<u8>Non-decoded bytes in the chunk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChunkState
impl RefUnwindSafe for ChunkState
impl Send for ChunkState
impl Sync for ChunkState
impl Unpin for ChunkState
impl UnwindSafe for ChunkState
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