Enum gif::ColorOutput[][src]

#[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 Decoder::read_next_frame.
  • Decoder::fill_buffer, Decoder::buffer_size and Decoder::line_length.
Indexed

The decoder returns the raw indexed data.

Trait Implementations

impl Clone for ColorOutput[src]

impl Copy for ColorOutput[src]

impl Debug for ColorOutput[src]

impl PartialEq<ColorOutput> for ColorOutput[src]

impl StructuralPartialEq for ColorOutput[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.