pub struct AudioSpanScratch { /* private fields */ }Expand description
Reusable working memory for evaluate_audio_in.
It holds positions in an index rather than borrows of one, so a mixer keeps a single scratch for its whole life, across snapshots. Once it has held as many clips as a span needs, evaluating another span allocates nothing.
Trait Implementations§
Source§impl Clone for AudioSpanScratch
impl Clone for AudioSpanScratch
Source§impl Debug for AudioSpanScratch
impl Debug for AudioSpanScratch
Auto Trait Implementations§
impl Freeze for AudioSpanScratch
impl RefUnwindSafe for AudioSpanScratch
impl Send for AudioSpanScratch
impl Sync for AudioSpanScratch
impl Unpin for AudioSpanScratch
impl UnsafeUnpin for AudioSpanScratch
impl UnwindSafe for AudioSpanScratch
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