Struct png::AnimationControl [] [src]

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

Animation control information

Fields

num_frames: u32

Number of frames

num_plays: u32

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

Trait Implementations

impl Debug for AnimationControl
[src]

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

Formats the value using the given formatter.

impl Copy for AnimationControl
[src]

impl Clone for AnimationControl
[src]

fn clone(&self) -> AnimationControl

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more