Enum omn_sprites::PlayMode
[−]
[src]
pub enum PlayMode { OneShot, Hold, Loop, }
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 PartialEq for PlayMode
[src]
fn eq(&self, __arg_0: &PlayMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for PlayMode
[src]
impl Clone for PlayMode
[src]
fn clone(&self) -> PlayMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more