Enum gif::DisposalMethod
[−]
[src]
#[repr(u8)]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]
pub fn from_u8(n: u8) -> Option<DisposalMethod>
[src]
Converts u8
to Option<Self>
Trait Implementations
impl Debug for DisposalMethod
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
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, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.