pub enum LoopMode {
Once,
Repeat,
PingPong,
}Expand description
Defines how an animation behaves after reaching its end.
Variants§
Once
Play once, then stay at the final value.
Repeat
Restart from the beginning each cycle.
PingPong
Alternate forward and backward each cycle.
Trait Implementations§
impl Copy for LoopMode
impl Eq for LoopMode
impl StructuralPartialEq for LoopMode
Auto Trait Implementations§
impl Freeze for LoopMode
impl RefUnwindSafe for LoopMode
impl Send for LoopMode
impl Sync for LoopMode
impl Unpin for LoopMode
impl UnsafeUnpin for LoopMode
impl UnwindSafe for LoopMode
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