pub enum Loop {
OneShot,
Loop,
PingPong,
}
Expand description
Loop options for linear animations.
Variants§
OneShot
Play until the duration or end of work area of the animation.
Loop
Play until the duration or end of work area of the animation and then go back to the start (0 seconds).
PingPong
Play to the end of the duration/work area and then play back.
Trait Implementations§
impl Copy for Loop
impl Eq for Loop
impl StructuralPartialEq for Loop
Auto Trait Implementations§
impl Freeze for Loop
impl RefUnwindSafe for Loop
impl Send for Loop
impl Sync for Loop
impl Unpin for Loop
impl UnwindSafe for Loop
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