Enum three::animation::LoopMode
[−]
[src]
pub enum LoopMode { Once, Repeat { limit: Option<u32>, }, PingPong { limit: Option<u32>, }, }
Describes the looping behaviour of an Action
.
Variants
Once
Play the clip in forward order exactly once, i.e. do not loop at all.
Repeat
Play the clip in forward order, repeating from the start.
Fields of Repeat
limit: Option<u32> | The maximum number of repetitions. When set to |
PingPong
Play the clip alternatively in forward and reverse order.
Fields of PingPong
limit: Option<u32> | The maximum number of repetitions. When set to |
Trait Implementations
impl Clone for LoopMode
[src]
fn clone(&self) -> LoopMode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for LoopMode
[src]
impl Debug for LoopMode
[src]
impl Eq for LoopMode
[src]
impl Hash for LoopMode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more