pub enum Playback {
Loop,
Once,
}Expand description
What a Clip does at its end.
Variants§
Loop
It starts again from its first frame, for as long as it plays.
Once
It stops on its last frame, and its animator sends
AnimationFinished.
Trait Implementations§
impl Copy for Playback
impl Eq for Playback
impl StructuralPartialEq for Playback
Auto Trait Implementations§
impl Forget for Playback
impl Freeze for Playback
impl Move for Playback
impl RefUnwindSafe for Playback
impl Send for Playback
impl Sync for Playback
impl Unpin for Playback
impl UnsafeUnpin for Playback
impl UnwindSafe for Playback
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