Enum png::Decoded [] [src]

pub enum Decoded<'a> {
    Nothing,
    Header(u32, u32, BitDepth, ColorType, bool),
    ChunkBegin(u32, ChunkType),
    ChunkComplete(u32, ChunkType),
    AnimationControl(AnimationControl),
    FrameControl(&'a FrameControl),
    ImageData(&'a [u8]),
    PartialChunk(ChunkType, &'a [u8]),
    ImageEnd,
}

Result of the decoding process

Variants

Nothing

Nothing decoded yet

Header
ChunkBegin
ChunkComplete
AnimationControl
FrameControl
ImageData

Decoded raw image data.

PartialChunk
ImageEnd

Trait Implementations

Derived Implementations

impl<'a> Debug for Decoded<'a>

fn fmt(&self, __arg_0: &mut Formatter) -> Result