pub struct ChunksMut<'b, 'a, S: Sample, const N: usize> { /* private fields */ }Expand description
Lending iterator returned by AudioBuffer::chunks_mut.
Does not implement Iterator because each yielded
ChunkItem borrows from the iterator itself - the standard
“GATs would help here” pattern. Drive it with while let Some(chunk) = chunks.next() instead. See
AudioBuffer::chunks_mut for a worked example.
Implementations§
Auto Trait Implementations§
impl<'b, 'a, S, const N: usize> Freeze for ChunksMut<'b, 'a, S, N>
impl<'b, 'a, S, const N: usize> RefUnwindSafe for ChunksMut<'b, 'a, S, N>where
S: RefUnwindSafe,
impl<'b, 'a, S, const N: usize> Send for ChunksMut<'b, 'a, S, N>
impl<'b, 'a, S, const N: usize> Sync for ChunksMut<'b, 'a, S, N>
impl<'b, 'a, S, const N: usize> Unpin for ChunksMut<'b, 'a, S, N>
impl<'b, 'a, S, const N: usize> UnsafeUnpin for ChunksMut<'b, 'a, S, N>
impl<'b, 'a, S, const N: usize> !UnwindSafe for ChunksMut<'b, 'a, S, N>
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