Enum gilrs::ff::Repeat [−][src]
pub enum Repeat { Infinitely, For(Ticks), }
Describes how long effect should be played.
Variants
Infinitely
Play effect until stop() is called.
For(Ticks)
Play effect for specified time.
Trait Implementations
impl Copy for Repeat
[src]
impl Copy for Repeat
impl Clone for Repeat
[src]
impl Clone for Repeat
fn clone(&self) -> Repeat
[src]
fn clone(&self) -> Repeat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Repeat
[src]
impl PartialEq for Repeat
fn eq(&self, other: &Repeat) -> bool
[src]
fn eq(&self, other: &Repeat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Repeat) -> bool
[src]
fn ne(&self, other: &Repeat) -> bool
This method tests for !=
.
impl Eq for Repeat
[src]
impl Eq for Repeat
impl Debug for Repeat
[src]
impl Debug for Repeat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Repeat
[src]
impl Default for Repeat