pub enum LoopCount {
Forever,
Times(NonZeroU16),
}
Expand description
Number of times that an animation loops.
Variants§
Forever
The animation loops forever.
Times(NonZeroU16)
Each frame of the animation is displayed the specified number of times.
Trait Implementations§
impl Copy for LoopCount
impl Eq for LoopCount
impl StructuralPartialEq for LoopCount
Auto Trait Implementations§
impl Freeze for LoopCount
impl RefUnwindSafe for LoopCount
impl Send for LoopCount
impl Sync for LoopCount
impl Unpin for LoopCount
impl UnwindSafe for LoopCount
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
)