Struct png::AnimationControl [] [src]

pub struct AnimationControl {
    pub num_frames: u32,
    pub num_plays: u32,
}

Animation control information

Fields

num_frames

Number of frames

num_plays

Number of times to loop this APNG. 0 indicates infinite looping.

Trait Implementations

Derived Implementations

impl Debug for AnimationControl

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for AnimationControl

impl Clone for AnimationControl

fn clone(&self) -> AnimationControl

1.0.0fn clone_from(&mut self, source: &Self)