Enum music::Repeat [] [src]

pub enum Repeat {
    Forever,
    Times(u16),
}

Tells how many times to repeat.

Variants

Forever

Repeats forever.

Times(u16)

Repeats amount of times.

Trait Implementations

impl Clone for Repeat
[src]

fn clone(&self) -> Repeat

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

impl Copy for Repeat
[src]