pub enum QueueCommand {
SkipForward(usize),
SkipBackward(usize),
SetPosition(usize),
Shuffle,
AddToQueue(Box<OneOrMany<Song>>),
RemoveRange(Range<usize>),
Clear,
SetRepeatMode(RepeatMode),
}Expand description
Queue Commands
Variants§
SkipForward(usize)
SkipBackward(usize)
SetPosition(usize)
Shuffle
AddToQueue(Box<OneOrMany<Song>>)
RemoveRange(Range<usize>)
Clear
SetRepeatMode(RepeatMode)
Trait Implementations§
source§impl Clone for QueueCommand
impl Clone for QueueCommand
source§fn clone(&self) -> QueueCommand
fn clone(&self) -> QueueCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for QueueCommand
impl Debug for QueueCommand
source§impl Display for QueueCommand
impl Display for QueueCommand
source§impl PartialEq for QueueCommand
impl PartialEq for QueueCommand
impl Eq for QueueCommand
impl StructuralPartialEq for QueueCommand
Auto Trait Implementations§
impl Freeze for QueueCommand
impl RefUnwindSafe for QueueCommand
impl Send for QueueCommand
impl Sync for QueueCommand
impl Unpin for QueueCommand
impl UnwindSafe for QueueCommand
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)