Enum gif::Block [] [src]

pub enum Block {
    Image,
    Extension,
    Trailer,
}

Known GIF block types

Variants

Image

Image block.

Extension

Extension block.

Trailer

Image trailer.

Methods

impl Block

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

Converts u8 to Option<Self>

Trait Implementations

Derived Implementations

impl Clone for Block

fn clone(&self) -> Block

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

impl Copy for Block

impl Debug for Block

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