Enum DisposeOp
#[repr(u8)]
pub enum DisposeOp
How to reset buffer of an animated png (APNG) at the end of a frame.
Variants
-
None = 0 Leave the buffer unchanged.
-
Background = 1 Clear buffer with the background color.
-
Previous = 2 Reset the buffer to the state before the current frame.
Implementations
impl DisposeOp
fn from_u8(n: u8) -> Option<DisposeOp>u8 -> Self. Using enum_primitive or transmute is probably the right thing but this will do for now.
Trait Implementations
impl Clone for DisposeOp
fn clone(&self) -> Self
impl Copy for DisposeOp
impl Debug for DisposeOp
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for DisposeOp
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for DisposeOp
impl PartialEq for DisposeOp
fn eq(&self, other: &Self) -> bool