[][src]Enum gif::ColorOutput

#[repr(u8)]
pub enum ColorOutput { RGBA, Indexed, }

Output mode for the image data

Variants

RGBA

The decoder expands the image data to 32bit RGBA. This affects:

  • The buffer buffer of the Frame returned by Reader::read_next_frame.
  • Reader::fill_buffer, Reader::buffer_size and Reader::line_length.
Indexed

The decoder returns the raw indexed data.

Trait Implementations

impl<R: Read> Parameter<Decoder<R>> for ColorOutput[src]

type Result = ()

Result type of set_param.

impl PartialEq<ColorOutput> for ColorOutput[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for ColorOutput[src]

Auto Trait Implementations

impl Send for ColorOutput

impl Sync for ColorOutput

Blanket Implementations

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

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

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.

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

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

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