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 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
)