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
None
The decoder is not required to take any action.
DoNotDispose
The graphic is to be left in place.
RestoreToBackgroundColor
The area used by the graphic must be restored to the background color.
RestoreToPrevious
The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.
Unknown(u8)
Unknown disposal method.
Trait Implementations
impl Copy for DisposalMethod
[src]
impl Clone for DisposalMethod
[src]
fn clone(&self) -> DisposalMethod
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DisposalMethod
[src]
fn eq(&self, __arg_0: &DisposalMethod) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DisposalMethod) -> bool
[src]
This method tests for !=
.