Struct png::decoder::stream::ChunkState
source · struct ChunkState {
type_: ChunkType,
crc: Hasher,
remaining: u32,
raw_bytes: Vec<u8>,
}
Fields§
§type_: ChunkType
The type of the current chunk.
Relevant for IDAT
and fdAT
which aggregate consecutive chunks of their own type.
crc: Hasher
Partial crc until now.
remaining: u32
Remaining 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