pub enum SkipAction {
Advance,
SeekTo(f64),
}Expand description
What a lockscreen skip button means for the playback that is actually running.
Variants§
Advance
Move to the next/previous queue entry — a track, or an episode.
SeekTo(f64)
Scrub within the current item, to this absolute position in seconds.
Trait Implementations§
Source§impl Clone for SkipAction
impl Clone for SkipAction
Source§fn clone(&self) -> SkipAction
fn clone(&self) -> SkipAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkipAction
impl Debug for SkipAction
Source§impl PartialEq for SkipAction
impl PartialEq for SkipAction
Source§fn eq(&self, other: &SkipAction) -> bool
fn eq(&self, other: &SkipAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SkipAction
impl StructuralPartialEq for SkipAction
Auto Trait Implementations§
impl Freeze for SkipAction
impl RefUnwindSafe for SkipAction
impl Send for SkipAction
impl Sync for SkipAction
impl Unpin for SkipAction
impl UnsafeUnpin for SkipAction
impl UnwindSafe for SkipAction
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