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.
Implementations§
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 moresource§impl Debug for AnimationControl
impl Debug for AnimationControl
impl Copy for AnimationControl
Auto Trait Implementations§
impl Freeze for AnimationControl
impl RefUnwindSafe for AnimationControl
impl Send for AnimationControl
impl Sync for AnimationControl
impl Unpin for AnimationControl
impl UnwindSafe for AnimationControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)