pub enum Stop {
End,
Time(Duration),
Frame(usize),
}Expand description
Ending position in the audio stream
Variants§
End
Read until the end of the audio
Time(Duration)
Stop at a specific time offset
Frame(usize)
Stop at a specific frame number (sample position across all channels)
Trait Implementations§
impl Copy for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnwindSafe for Stop
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