Enum png::Decoded[][src]

pub enum Decoded<'a> {
    Nothing,
    Header(u32u32BitDepthColorTypebool),
    ChunkBegin(u32ChunkType),
    ChunkComplete(u32ChunkType),
    PixelDimensions(PixelDimensions),
    AnimationControl(AnimationControl),
    FrameControl(&'a FrameControl),
    ImageData(&'a [u8]),
    PartialChunk(ChunkType&'a [u8]),
    ImageEnd,
}
Expand description

Result of the decoding process

Variants

Nothing

Nothing decoded yet

Header(u32u32BitDepthColorTypebool)
ChunkBegin(u32ChunkType)
ChunkComplete(u32ChunkType)
PixelDimensions(PixelDimensions)
AnimationControl(AnimationControl)
FrameControl(&'a FrameControl)
ImageData(&'a [u8])

Decoded raw image data.

PartialChunk(ChunkType&'a [u8])
ImageEnd

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.