Enum image::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]
impl DisposalMethod
pub fn from_u8(n: u8) -> Option<DisposalMethod>
[src]
pub fn from_u8(n: u8) -> Option<DisposalMethod>
Converts u8
to Option<Self>
Trait Implementations
impl Clone for DisposalMethod
[src]
impl Clone for DisposalMethod
fn clone(&self) -> DisposalMethod
[src]
fn clone(&self) -> DisposalMethod
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DisposalMethod
[src]
impl Debug for DisposalMethod
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for DisposalMethod
[src]
impl Copy for DisposalMethod
impl Eq for DisposalMethod
[src]
impl Eq for DisposalMethod
impl PartialEq<DisposalMethod> for DisposalMethod
[src]
impl PartialEq<DisposalMethod> for DisposalMethod
Auto Trait Implementations
impl Send for DisposalMethod
impl Send for DisposalMethod
impl Sync for DisposalMethod
impl Sync for DisposalMethod