pub enum Repeat {
Once,
Times(u32),
Forever,
}Expand description
Variants§
Once
Play the animation once and hold the final value (default).
Times(u32)
Play the animation a specific number of times.
Forever
Loop the animation indefinitely.
Trait Implementations§
impl Copy for Repeat
impl StructuralPartialEq for Repeat
Auto Trait Implementations§
impl Freeze for Repeat
impl RefUnwindSafe for Repeat
impl Send for Repeat
impl Sync for Repeat
impl Unpin for Repeat
impl UnwindSafe for Repeat
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