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
[src]

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

Converts u8 to Option<Self>

Trait Implementations

impl Clone for Block
[src]

fn clone(&self) -> Block

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Block
[src]

impl Debug for Block
[src]

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

Formats the value using the given formatter.