pub trait FrameMut: Frame {
type FrameMut<'this>: FrameMut<Sample = Self::Sample>
where Self: 'this;
type IterMut<'this>: Iterator<Item = &'this mut Self::Sample>
where Self: 'this;
// Required methods
fn as_sample_mut(&self) -> Self::FrameMut<'_>;
fn get_mut(&self, channel: usize) -> Option<&mut Self::Sample>;
fn iter_mut(&self) -> Self::IterMut<'_>;
}
Expand description
The buffer of a single frame.
Required Associated Types§
Required Methods§
sourcefn as_sample_mut(&self) -> Self::FrameMut<'_>
fn as_sample_mut(&self) -> Self::FrameMut<'_>
Reborrow the current frame as a reference.
Object Safety§
This trait is not object safe.