Struct aci_png::PngDecoder

source ·
pub struct PngDecoder<T: Read + Seek> { /* private fields */ }
Expand description

Decoder for PNG/APNG.

Trait Implementations

Create a new decoder for this format. None is returned when the decoder can’t handle data’s format: try a different decoder. Read more
Decode a frame. None is returned if the file is corrupt, Some(true) if it succeeded, and Some(false) if it can’t add anymore frames because the input file ended. audio and video should initially be set to None. Read more
Get the frame number (24 frames per second).
Set the frame number to seek forward or backwards.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.