pub enum VoiceState {
Playing,
Paused,
Stopping,
Finished,
Virtual,
}Expand description
What a voice is doing, as of the mixer’s last render.
Variants§
Playing
Paused
Paused by itself or by its bus; its position does not move.
Stopping
Fading out after a stop or a steal.
Finished
Virtual
Retained and advancing without interpolation/mixing; can become physical.
Trait Implementations§
Source§impl Clone for VoiceState
impl Clone for VoiceState
Source§fn clone(&self) -> VoiceState
fn clone(&self) -> VoiceState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VoiceState
Source§impl Debug for VoiceState
impl Debug for VoiceState
impl Eq for VoiceState
Source§impl PartialEq for VoiceState
impl PartialEq for VoiceState
impl StructuralPartialEq for VoiceState
Auto Trait Implementations§
impl Freeze for VoiceState
impl RefUnwindSafe for VoiceState
impl Send for VoiceState
impl Sync for VoiceState
impl Unpin for VoiceState
impl UnsafeUnpin for VoiceState
impl UnwindSafe for VoiceState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more