pub struct RemoveFromPlaylist<'a> { /* private fields */ }Expand description
playlistdelete command.
Implementations§
Source§impl<'a> RemoveFromPlaylist<'a>
impl<'a> RemoveFromPlaylist<'a>
Sourcepub fn position(playlist: &'a str, position: usize) -> Self
pub fn position(playlist: &'a str, position: usize) -> Self
Delete the song at position from playlist.
Sourcepub fn range<R>(playlist: &'a str, range: R) -> Selfwhere
R: RangeBounds<SongPosition>,
pub fn range<R>(playlist: &'a str, range: R) -> Selfwhere
R: RangeBounds<SongPosition>,
Delete the specified range of songs from playlist.
Trait Implementations§
Source§impl<'a> Clone for RemoveFromPlaylist<'a>
impl<'a> Clone for RemoveFromPlaylist<'a>
Source§fn clone(&self) -> RemoveFromPlaylist<'a>
fn clone(&self) -> RemoveFromPlaylist<'a>
Returns a duplicate 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<'a> Command for RemoveFromPlaylist<'a>
impl<'a> Command for RemoveFromPlaylist<'a>
Source§fn command(&self) -> RawCommand
fn command(&self) -> RawCommand
Create the raw command representation for transmission.
Source§impl<'a> Debug for RemoveFromPlaylist<'a>
impl<'a> Debug for RemoveFromPlaylist<'a>
Source§impl<'a> PartialEq for RemoveFromPlaylist<'a>
impl<'a> PartialEq for RemoveFromPlaylist<'a>
impl<'a> Eq for RemoveFromPlaylist<'a>
impl<'a> StructuralPartialEq for RemoveFromPlaylist<'a>
Auto Trait Implementations§
impl<'a> Freeze for RemoveFromPlaylist<'a>
impl<'a> RefUnwindSafe for RemoveFromPlaylist<'a>
impl<'a> Send for RemoveFromPlaylist<'a>
impl<'a> Sync for RemoveFromPlaylist<'a>
impl<'a> Unpin for RemoveFromPlaylist<'a>
impl<'a> UnwindSafe for RemoveFromPlaylist<'a>
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