pub struct Move { /* private fields */ }Expand description
move and moveid commands.
Implementations§
Source§impl Move
impl Move
Sourcepub fn id(id: SongId) -> MoveBuilder
pub fn id(id: SongId) -> MoveBuilder
Move the song with the given ID.
Sourcepub fn position(position: SongPosition) -> MoveBuilder
pub fn position(position: SongPosition) -> MoveBuilder
Move the song at the given position.
Sourcepub fn range<R>(range: R) -> MoveBuilderwhere
R: RangeBounds<SongPosition>,
pub fn range<R>(range: R) -> MoveBuilderwhere
R: RangeBounds<SongPosition>,
Move the given range of song positions.
§Panics
The given range must have an end. If a range with an open end is passed, this will panic.
Trait Implementations§
Source§impl Command for Move
impl Command for Move
Source§fn command(&self) -> RawCommand
fn command(&self) -> RawCommand
Create the raw command representation for transmission.
impl Eq for Move
impl StructuralPartialEq for Move
Auto Trait Implementations§
impl Freeze for Move
impl RefUnwindSafe for Move
impl Send for Move
impl Sync for Move
impl Unpin for Move
impl UnwindSafe for Move
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