Enum gif::Extension [] [src]

pub enum Extension {
    Text,
    Control,
    Comment,
    Application,
}

Known GIF extensions

Variants

Text

Text extension.

Control

Control extension.

Comment

Comment extension.

Application

Application extension.

Methods

impl Extension

fn from_u8(n: u8) -> Option<Extension>

Converts u8 to Option<Self>

Trait Implementations

Derived Implementations

impl Clone for Extension

fn clone(&self) -> Extension

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Extension

impl Debug for Extension

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