[][src]Enum gift::block::DisposalMethod

pub enum DisposalMethod {
    NoAction,
    Keep,
    Background,
    Previous,
    Reserved(u8),
}

Method to dispose of a frame in an animation

Variants

NoAction

No disposal specified

Keep

Do not dispose of frame

Background

Restore to background color

Previous

Restore to previous frame

Reserved(u8)

Reserved methods

Trait Implementations

impl Clone for DisposalMethod[src]

impl Copy for DisposalMethod[src]

impl Debug for DisposalMethod[src]

impl Default for DisposalMethod[src]

impl Eq for DisposalMethod[src]

impl From<DisposalMethod> for u8[src]

impl From<u8> for DisposalMethod[src]

impl PartialEq<DisposalMethod> for DisposalMethod[src]

impl StructuralEq for DisposalMethod[src]

impl StructuralPartialEq for DisposalMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.