pub enum PlaybackMode {
Loop,
Once,
}Expand description
Behavior at the end of a clip.
Variants§
Loop
Wrap to the first frame; never emit a completion event.
Once
Hold the last frame and emit one completion event per play/reset.
Trait Implementations§
Source§impl Clone for PlaybackMode
impl Clone for PlaybackMode
impl Copy for PlaybackMode
Source§impl Debug for PlaybackMode
impl Debug 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