pub enum IterationCount {
Count(u32),
Infinite,
}Expand description
How many times an animation repeats.
Variants§
Trait Implementations§
Source§impl Clone for IterationCount
impl Clone for IterationCount
Source§fn clone(&self) -> IterationCount
fn clone(&self) -> IterationCount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IterationCount
impl Debug for IterationCount
Source§impl PartialEq for IterationCount
impl PartialEq for IterationCount
Source§fn eq(&self, other: &IterationCount) -> bool
fn eq(&self, other: &IterationCount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IterationCount
impl Eq for IterationCount
impl StructuralPartialEq for IterationCount
Auto Trait Implementations§
impl Freeze for IterationCount
impl RefUnwindSafe for IterationCount
impl Send for IterationCount
impl Sync for IterationCount
impl Unpin for IterationCount
impl UnsafeUnpin for IterationCount
impl UnwindSafe for IterationCount
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