pub struct Delete(/* private fields */);Expand description
delete and deleteid commands.
Implementations§
Source§impl Delete
impl Delete
Sourcepub fn position(pos: SongPosition) -> Self
pub fn position(pos: SongPosition) -> Self
Remove the song at the given position from the queue.
Sourcepub fn range<R>(range: R) -> Selfwhere
R: RangeBounds<SongPosition>,
pub fn range<R>(range: R) -> Selfwhere
R: RangeBounds<SongPosition>,
Remove the given range from the queue.
The range must have at least a lower bound.
Trait Implementations§
Source§impl Command for Delete
impl Command for Delete
Source§fn command(&self) -> RawCommand
fn command(&self) -> RawCommand
Create the raw command representation for transmission.
impl Eq for Delete
impl StructuralPartialEq for Delete
Auto Trait Implementations§
impl Freeze for Delete
impl RefUnwindSafe for Delete
impl Send for Delete
impl Sync for Delete
impl Unpin for Delete
impl UnwindSafe for Delete
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