Enum pixels_graphics_lib::prelude::PlayType
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 StructuralEq for PlayType
impl StructuralPartialEq for PlayType
Auto Trait Implementations§
impl RefUnwindSafe for PlayType
impl Send for PlayType
impl Sync for PlayType
impl Unpin for PlayType
impl UnwindSafe for PlayType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.