pub enum PlayMode {
Normal,
RepeatAll,
RepeatOne,
ShuffleNoRepeat,
Shuffle,
ShuffleRepeatOne,
}Expand description
Play mode for the set_play_mode() method
Variants§
Normal
Normal sequential playback
RepeatAll
Repeat all tracks
RepeatOne
Repeat current track
ShuffleNoRepeat
Shuffle without repeat
Shuffle
Shuffle with repeat
ShuffleRepeatOne
Shuffle and repeat current track
Trait Implementations§
impl Copy for PlayMode
impl Eq for PlayMode
impl StructuralPartialEq for PlayMode
Auto Trait Implementations§
impl Freeze for PlayMode
impl RefUnwindSafe for PlayMode
impl Send for PlayMode
impl Sync for PlayMode
impl Unpin for PlayMode
impl UnsafeUnpin for PlayMode
impl UnwindSafe for PlayMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.