pub enum Position {
Default,
Time(Duration),
Frame(usize),
}Expand description
Position in the audio stream (for start or stop points)
Variants§
Default
Start from beginning or read until the end (depending on context)
Time(Duration)
Specific time offset
Frame(usize)
Specific frame number (sample position across all channels)
Trait Implementations§
impl Copy for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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