Enum gif::DisposalMethod [] [src]

pub enum DisposalMethod {
    Any,
    Keep,
    Background,
    Previous,
}

Disposal method

Variants

Any

StreamingDecoder is not required to take any action.

Keep

Do not dispose.

Background

Restore to background color.

Previous

Restore to previous.

Methods

impl DisposalMethod

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

Converts u8 to Option<Self>

Trait Implementations

Derived Implementations

impl Clone for DisposalMethod

fn clone(&self) -> DisposalMethod

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

impl Copy for DisposalMethod

impl Debug for DisposalMethod

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