Enum ColorOutput

#[repr(u8)]
pub enum ColorOutput

Output mode for the image data

Variants

RGBA = 0

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 = 1

The decoder returns the raw indexed data.

Trait Implementations

impl Clone for ColorOutput

fn clone(&self) -> Self

impl Copy for ColorOutput

impl Debug for ColorOutput

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl PartialEq for ColorOutput

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for ColorOutput

Auto Trait Implementations

impl Freeze for ColorOutput

impl RefUnwindSafe for ColorOutput

impl Send for ColorOutput

impl Sync for ColorOutput

impl Unpin for ColorOutput

impl UnsafeUnpin for ColorOutput

impl UnwindSafe for ColorOutput

Blanket Implementations

impl<T> Any for ColorOutput where T: 'static + ?Sized,

impl<T> Borrow<T> for ColorOutput where T: ?Sized,

impl<T> BorrowMut<T> for ColorOutput where T: ?Sized,

impl<T> CloneToUninit for ColorOutput where T: Clone,

impl<T> From<T> for ColorOutput

impl<T> ToOwned for ColorOutput where T: Clone,

impl<T, U> Into<U> for ColorOutput where U: From<T>,

impl<T, U> TryFrom<U> for ColorOutput where U: Into<T>,

impl<T, U> TryInto<U> for ColorOutput where U: TryFrom<T>,