Enum gif::DisposalMethod
[−]
[src]
#[repr(u8)]pub enum DisposalMethod { Any, Keep, Background, Previous, }
Disposal method
Variants
AnyStreamingDecoder is not required to take any action.
KeepDo not dispose.
BackgroundRestore to background color.
PreviousRestore 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) -> bool1.0.0[src]
This method tests for !=.