Struct GifDecoder

struct GifDecoder<R: Read> { ... }

GIF decoder

Implementations

impl<R: Read> GifDecoder<R>

fn new(r: R) -> ImageResult<GifDecoder<R>>

Creates a new decoder that decodes the input steam r

impl<'a, R: BufRead + Seek + 'a> AnimationDecoder for GifDecoder<R>

fn into_frames(self: Self) -> animation::Frames<'a>

impl<R> Freeze for GifDecoder<R>

impl<R> RefUnwindSafe for GifDecoder<R>

impl<R> Send for GifDecoder<R>

impl<R> Sync for GifDecoder<R>

impl<R> Unpin for GifDecoder<R>

impl<R> UnwindSafe for GifDecoder<R>

impl<R: BufRead + Seek> ImageDecoder for GifDecoder<R>

fn dimensions(self: &Self) -> (u32, u32)
fn color_type(self: &Self) -> ColorType
fn set_limits(self: &mut Self, limits: Limits) -> ImageResult<()>
fn read_image(self: Self, buf: &mut [u8]) -> ImageResult<()>
fn read_image_boxed(self: Box<Self>, buf: &mut [u8]) -> ImageResult<()>

impl<T> Any for GifDecoder<R>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for GifDecoder<R>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for GifDecoder<R>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for GifDecoder<R>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for GifDecoder<R>

unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

impl<T, U> Into for GifDecoder<R>

fn into(self: Self) -> U

Calls U::from(self).

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

impl<T, U> TryFrom for GifDecoder<R>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for GifDecoder<R>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>