Trait AnimationDecoder
pub trait AnimationDecoder<'a>
AnimationDecoder trait
Required Methods
fn into_frames(self) -> Frames<'a>Consume the decoder producing a series of frames.
Provided Methods
fn loop_count(&self) -> LoopCountLoop count of the animated image.
By default, indicates the animation should run once. Formats may implement other defaults and read such metadata from the file.
Implementors
impl<'a, R: 'a + BufRead + Seek> AnimationDecoder<'a> for WebPDecoder<R>impl<'a, R: BufRead + Seek + 'a> AnimationDecoder<'a> for ApngDecoder<R>impl<'a, R: BufRead + Seek + 'a> AnimationDecoder<'a> for GifDecoder<R>