pub enum PlayMode {
OneShot,
Hold,
Loop,
}
Expand description
PlayMode
controls how the current frame data for a clip at a certain time is calculated with
regards to the duration bounds.
Variants§
OneShot
OneShot
will play start to finish, but requests for CellInfo
after the duration will get
you None.
Hold
Hold
is similar to OneShot
however time past the end of the duration will repeat
the final frame.
Loop
A Loop
clip never ends and will return to the start of the clip when exhausted.
Trait Implementations§
impl StructuralPartialEq for PlayMode
Auto Trait Implementations§
impl Freeze for PlayMode
impl RefUnwindSafe for PlayMode
impl Send for PlayMode
impl Sync for PlayMode
impl Unpin for PlayMode
impl UnwindSafe for PlayMode
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