pub enum PlaybackMode {
Once,
Loop,
}Expand description
Defines what happens when animation time reaches the clip duration.
Variants§
Once
Stops on the final frame after one playback.
Loop
Repeats the clip after reaching its duration.
Trait Implementations§
Source§impl Clone for PlaybackMode
impl Clone for PlaybackMode
impl Copy for PlaybackMode
Source§impl Debug for PlaybackMode
impl Debug for PlaybackMode
Source§impl Default for PlaybackMode
impl Default for PlaybackMode
impl Eq for PlaybackMode
Source§impl PartialEq for PlaybackMode
impl PartialEq for PlaybackMode
impl StructuralPartialEq for PlaybackMode
Auto Trait Implementations§
impl Freeze for PlaybackMode
impl RefUnwindSafe for PlaybackMode
impl Send for PlaybackMode
impl Sync for PlaybackMode
impl Unpin for PlaybackMode
impl UnsafeUnpin for PlaybackMode
impl UnwindSafe for PlaybackMode
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