pub enum TweenMode {
Once,
Loop,
PingPong,
}Expand description
Behavior after one traversal of a tween’s duration.
Variants§
Once
Run from start to end once, then complete.
Loop
Restart from the start after each cycle.
PingPong
Alternate direction each cycle: start→end, end→start, …
Trait Implementations§
impl Copy for TweenMode
impl Eq for TweenMode
impl StructuralPartialEq for TweenMode
Auto Trait Implementations§
impl Freeze for TweenMode
impl RefUnwindSafe for TweenMode
impl Send for TweenMode
impl Sync for TweenMode
impl Unpin for TweenMode
impl UnsafeUnpin for TweenMode
impl UnwindSafe for TweenMode
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