Enum ears::State [] [src]

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

The differents states in which a sound can be.

Variants

Initial

Initial state of the sound or music

Playing

The sound or music is currently playing

Paused

The sound or music is paused

Stopped

The sound or music is stopped

Trait Implementations

Derived Implementations

impl Clone for State

fn clone(&self) -> State

fn clone_from(&mut self, source: &Self)

impl Copy for State

impl Debug for State

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialOrd for State

fn partial_cmp(&self, __arg_0: &State) -> Option<Ordering>

fn lt(&self, __arg_0: &State) -> bool

fn le(&self, __arg_0: &State) -> bool

fn gt(&self, __arg_0: &State) -> bool

fn ge(&self, __arg_0: &State) -> bool

impl PartialEq for State

fn eq(&self, __arg_0: &State) -> bool

fn ne(&self, __arg_0: &State) -> bool