Enum kira::sound::static_sound::PlaybackState [−][src]
pub enum PlaybackState {
Playing,
Pausing,
Paused,
Stopping,
Stopped,
}
Expand description
The playback state of a sound.
Variants
Playing
The sound is playing normally.
Pausing
The sound is fading out, and when the fade-out is finished, playback will pause.
Paused
Playback is paused.
Stopping
The sound is fading out, and when the fade-out is finished, playback will stop.
Stopped
The sound has stopped and can no longer be resumed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PlaybackState
impl Send for PlaybackState
impl Sync for PlaybackState
impl Unpin for PlaybackState
impl UnwindSafe for PlaybackState
Blanket Implementations
Mutably borrows from an owned value. Read more