pub enum Decoded {
Nothing,
Header(u32, u32, BitDepth, ColorType, bool),
ChunkBegin(u32, ChunkType),
ChunkComplete(u32, ChunkType),
PixelDimensions(PixelDimensions),
AnimationControl(AnimationControl),
FrameControl(FrameControl),
ImageData,
PartialChunk(ChunkType),
ImageEnd,
}
Expand description
Result of the decoding process
Variants§
Nothing
Nothing decoded yet
Header(u32, u32, BitDepth, ColorType, bool)
ChunkBegin(u32, ChunkType)
ChunkComplete(u32, ChunkType)
PixelDimensions(PixelDimensions)
AnimationControl(AnimationControl)
FrameControl(FrameControl)
ImageData
Decoded raw image data.
PartialChunk(ChunkType)
ImageEnd
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Decoded
impl RefUnwindSafe for Decoded
impl Send for Decoded
impl Sync for Decoded
impl Unpin for Decoded
impl UnwindSafe for Decoded
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