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]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialOrd for State
[src]

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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]

[src]

Formats the value using the given formatter. Read more

impl Copy for State
[src]

impl Clone for State
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for State

impl Sync for State