cosmic::iced_winit::graphics::image::image_rs

Trait AnimationDecoder

source
pub trait AnimationDecoder<'a> {
    // Required method
    fn into_frames(self) -> Frames<'a> ;
}
Expand description

AnimationDecoder trait

Required Methods§

source

fn into_frames(self) -> Frames<'a>

Consume the decoder producing a series of frames.

Implementors§

source§

impl<'a, R> AnimationDecoder<'a> for GifDecoder<R>
where R: Read + 'a,

source§

impl<'a, R> AnimationDecoder<'a> for ApngDecoder<R>
where R: Read + 'a,

source§

impl<'a, R> AnimationDecoder<'a> for WebPDecoder<R>
where R: 'a + Read,