#[repr(C, u8)]pub enum AnimationIterationCount {
Count(u16),
Infinite,
}Expand description
How many times an animation plays. Infinite is what makes a CSS
spinner expressible; presence EXITS clamp it to one run (an infinite
exit would never reap its zombie).
Variants§
Trait Implementations§
Source§impl Clone for AnimationIterationCount
impl Clone for AnimationIterationCount
Source§fn clone(&self) -> AnimationIterationCount
fn clone(&self) -> AnimationIterationCount
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 moreimpl Copy for AnimationIterationCount
Source§impl Debug for AnimationIterationCount
impl Debug for AnimationIterationCount
Source§impl Default for AnimationIterationCount
impl Default for AnimationIterationCount
impl Eq for AnimationIterationCount
Source§impl Hash for AnimationIterationCount
impl Hash for AnimationIterationCount
Source§impl Ord for AnimationIterationCount
impl Ord for AnimationIterationCount
Source§fn cmp(&self, other: &AnimationIterationCount) -> Ordering
fn cmp(&self, other: &AnimationIterationCount) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AnimationIterationCount
impl PartialEq for AnimationIterationCount
Source§impl PartialOrd for AnimationIterationCount
impl PartialOrd for AnimationIterationCount
impl StructuralPartialEq for AnimationIterationCount
Auto Trait Implementations§
impl Freeze for AnimationIterationCount
impl RefUnwindSafe for AnimationIterationCount
impl Send for AnimationIterationCount
impl Sync for AnimationIterationCount
impl Unpin for AnimationIterationCount
impl UnsafeUnpin for AnimationIterationCount
impl UnwindSafe for AnimationIterationCount
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