Struct image::codecs::gif::GifDecoder[][src]

pub struct GifDecoder<R: Read> { /* fields omitted */ }

GIF decoder

Implementations

impl<R: Read> GifDecoder<R>[src]

pub fn new(r: R) -> ImageResult<GifDecoder<R>>[src]

Creates a new decoder that decodes the input steam r

Trait Implementations

impl<'a, R: Read + 'a> AnimationDecoder<'a> for GifDecoder<R>[src]

impl<'a, R: 'a + Read> ImageDecoder<'a> for GifDecoder<R>[src]

type Reader = GifReader<R>

The type of reader produced by into_reader.

Auto Trait Implementations

impl<R> !RefUnwindSafe for GifDecoder<R>

impl<R> Send for GifDecoder<R> where
    R: Send

impl<R> !Sync for GifDecoder<R>

impl<R> Unpin for GifDecoder<R> where
    R: Unpin

impl<R> !UnwindSafe for GifDecoder<R>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.