Struct AnimationControl
pub struct AnimationControl { pub num_frames: u32, pub num_plays: u32 }
Animation control information
Fields
num_frames: u32Number of frames
num_plays: u32Number of times to loop this APNG. 0 indicates infinite looping.
Implementations
impl AnimationControl
fn encode<W: Write>(self, w: &mut W) -> Result<(), EncodingError>
Trait Implementations
impl Clone for AnimationControl
fn clone(&self) -> Self
impl Copy for AnimationControl
impl Debug for AnimationControl
fn fmt(&self, f: &mut Formatter<'_>) -> Result