Enum ears::State [] [src]

pub enum State {
    Initial,
    Playing,
    Paused,
    Stopped,
}

The differents states in which a sound can be.

Variants

Initial state of the sound or music

The sound or music is currently playing

The sound or music is paused

The sound or music is stopped

Trait Implementations

impl PartialEq for State
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for State
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for State
[src]

Formats the value using the given formatter.

impl Copy for State
[src]

impl Clone for State
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more