Enum gif::ColorOutput [] [src]

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 Debug for ColorOutput
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for ColorOutput
[src]

fn eq(&self, __arg_0: &ColorOutput) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

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

type Result = ()

Result type of set_param.

fn set_param(self, this: &mut Decoder<R>)

Sets self as a parameter of Object.