Struct png::AnimationControl
source · pub struct AnimationControl {
pub num_frames: u32,
pub num_plays: u32,
}
Expand description
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§
source§impl Clone for AnimationControl
impl Clone for AnimationControl
source§fn clone(&self) -> AnimationControl
fn clone(&self) -> AnimationControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more