pub enum ChunkType {
Raw = 51_905,
Fill = 51_906,
DontCare = 51_907,
Crc32 = 51_908,
}
Expand description
Type of a chunk
Variants§
Raw = 51_905
Chunk header is followed by raw content for ChunkHeader::out_size bytes; Should be copied to the output
Fill = 51_906
Chunk header is followed by 4 bytes; which should be used to fill the output
DontCare = 51_907
No data after the chunk; The next ChunkHeader::out_size bytes can be filled with any content
Crc32 = 51_908
Chunk header is followed by 4 bytes, which is a crc32 checksum
Implementations§
Trait Implementations§
impl Copy for ChunkType
impl Eq for ChunkType
impl StructuralPartialEq for ChunkType
Auto Trait Implementations§
impl Freeze for ChunkType
impl RefUnwindSafe for ChunkType
impl Send for ChunkType
impl Sync for ChunkType
impl Unpin for ChunkType
impl UnwindSafe for ChunkType
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