Enum png::decoder::stream::U32ValueKind
source · enum U32ValueKind {
Signature1stU32,
Signature2ndU32,
Length,
Type {
length: u32,
},
Crc(ChunkType),
ApngSequenceNumber,
}
Expand description
Kind of u32
value that is being read via State::U32
.
Variants§
Signature1stU32
First 4 bytes of the PNG signature - see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#PNG-file-signature
Signature2ndU32
Second 4 bytes of the PNG signature - see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#PNG-file-signature
Length
Chunk length - see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#Chunk-layout
Type
Chunk type - see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#Chunk-layout
Crc(ChunkType)
Chunk checksum - see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html#Chunk-layout
ApngSequenceNumber
Sequence number from an fdAT
chunk - see
https://wiki.mozilla.org/APNG_Specification#.60fdAT.60:_The_Frame_Data_Chunk
Trait Implementations§
Auto Trait Implementations§
impl Freeze for U32ValueKind
impl RefUnwindSafe for U32ValueKind
impl Send for U32ValueKind
impl Sync for U32ValueKind
impl Unpin for U32ValueKind
impl UnwindSafe for U32ValueKind
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