Enum DisposalMethod
#[repr(u8)]
pub enum DisposalMethod
Disposal method
Variants
-
Any = 0 StreamingDecoderis not required to take any action.-
Keep = 1 Do not dispose.
-
Background = 2 Restore to background color.
-
Previous = 3 Restore to previous.
Implementations
impl DisposalMethod
const fn from_u8(n: u8) -> Option<Self>Converts
u8toOption<Self>
Trait Implementations
impl Clone for DisposalMethod
fn clone(&self) -> Self
impl Copy for DisposalMethod
impl Debug for DisposalMethod
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for DisposalMethod
impl PartialEq for DisposalMethod
fn eq(&self, other: &Self) -> bool