Enum openal::source::State [] [src]

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

Representes the state of the source.

Variants

Unknown state, something is most likely wrong.

Initial state of the source.

The source is playing.

The source is paused.

The source 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 Eq for State
[src]

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

impl Debug for State
[src]

Formats the value using the given formatter.

impl From<ALenum> for State
[src]

Performs the conversion.