Enum immeta::formats::gif::DisposalMethod [] [src]

pub enum DisposalMethod {
    None,
    DoNotDispose,
    RestoreToBackgroundColor,
    RestoreToPrevious,
    Unknown(u8),
}

Describes disposal methods used for GIF image frames.

Disposal method defines how the graphic should be treated after being displayed. Descriptions of enum variants come from GIF spec.

Variants

The decoder is not required to take any action.

The graphic is to be left in place.

The area used by the graphic must be restored to the background color.

The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.

Unknown disposal method.

Trait Implementations

impl Copy for DisposalMethod
[src]

impl Clone for DisposalMethod
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DisposalMethod
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for DisposalMethod
[src]

impl Debug for DisposalMethod
[src]

[src]

Formats the value using the given formatter. Read more