Enum symphonia_core::formats::SeekMode
source · pub enum SeekMode {
Coarse,
Accurate,
}
Expand description
SeekMode
selects the precision of a seek.
Variants§
Coarse
Coarse seek mode is a best-effort attempt to seek to the requested position. The actual
position seeked to may be before or after the requested position. Coarse seeking is an
optional performance enhancement. If a FormatReader
does not support this mode an
accurate seek will be performed instead.
Accurate
Accurate (aka sample-accurate) seek mode will be always seek to a position before the requested position.
Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)