pub enum SeekMode {
Forward(Duration),
Backward(Duration),
Absolute(Duration),
}Expand description
Possible ways to seek in the current song.
Variants§
Forward(Duration)
Forwards from current position.
Backward(Duration)
Backwards from current position.
Absolute(Duration)
To the absolute position in the current song.
Trait Implementations§
impl Copy for SeekMode
impl Eq for SeekMode
impl StructuralPartialEq for SeekMode
Auto Trait Implementations§
impl Freeze for SeekMode
impl RefUnwindSafe for SeekMode
impl Send for SeekMode
impl Sync for SeekMode
impl Unpin for SeekMode
impl UnwindSafe for SeekMode
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