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

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

Converts u8 to Option<Self>

Trait Implementations

impl Clone for DisposalMethod
[src]

fn clone(&self) -> DisposalMethod

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

impl Debug for DisposalMethod
[src]

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

Formats the value using the given formatter.