pub struct FlatSamplesWriter<'samples> {
resolution: Vec2<usize>,
samples: &'samples FlatSamples,
}
Expand description
A temporary writer for a predefined non-deep sample storage
Fields§
§resolution: Vec2<usize>
§samples: &'samples FlatSamples
Trait Implementations§
source§impl<'samples> Clone for FlatSamplesWriter<'samples>
impl<'samples> Clone for FlatSamplesWriter<'samples>
source§fn clone(&self) -> FlatSamplesWriter<'samples>
fn clone(&self) -> FlatSamplesWriter<'samples>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'samples> Debug for FlatSamplesWriter<'samples>
impl<'samples> Debug for FlatSamplesWriter<'samples>
source§impl<'samples> PartialEq for FlatSamplesWriter<'samples>
impl<'samples> PartialEq for FlatSamplesWriter<'samples>
source§fn eq(&self, other: &FlatSamplesWriter<'samples>) -> bool
fn eq(&self, other: &FlatSamplesWriter<'samples>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'samples> SamplesWriter for FlatSamplesWriter<'samples>
impl<'samples> SamplesWriter for FlatSamplesWriter<'samples>
source§fn extract_line(&self, line: LineRefMut<'_>)
fn extract_line(&self, line: LineRefMut<'_>)
Deliver a single short horizontal list of samples for a specific channel.
impl<'samples> Copy for FlatSamplesWriter<'samples>
impl<'samples> StructuralPartialEq for FlatSamplesWriter<'samples>
Auto Trait Implementations§
impl<'samples> Freeze for FlatSamplesWriter<'samples>
impl<'samples> RefUnwindSafe for FlatSamplesWriter<'samples>
impl<'samples> Send for FlatSamplesWriter<'samples>
impl<'samples> Sync for FlatSamplesWriter<'samples>
impl<'samples> Unpin for FlatSamplesWriter<'samples>
impl<'samples> UnwindSafe for FlatSamplesWriter<'samples>
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