pub enum PlayType {
Once,
OnceReversed,
Loops,
LoopsReversed,
LoopsBoth,
}
Variants§
Once
Play from 0 to end once Must call [set_animate(true)] before the image will play Once it finishes will call [reset]
OnceReversed
Play from end to 0 once Must call [set_animate(true)] before the image will play Once it finishes will call [reset]
Loops
Play from 0 to end repeatedly
LoopsReversed
Play from end to 0 repeatedly
LoopsBoth
Play from 0 to end to 0 repeatedly
Implementations§
Trait Implementations§
impl Copy for PlayType
impl Eq for PlayType
impl StructuralPartialEq for PlayType
Auto Trait Implementations§
impl Freeze for PlayType
impl RefUnwindSafe for PlayType
impl Send for PlayType
impl Sync for PlayType
impl Unpin for PlayType
impl UnwindSafe for PlayType
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