pub struct CustomWave {
pub points: Vec<WavePoint>,
pub use_dots: bool,
pub thick: bool,
pub additive: bool,
}Expand description
One evaluated custom wave (CWave). points.len() is the samples actually produced
(<= 512). Spectrum / sep / smoothing / scaling are the engine’s job (see
crate::wavegen::custom_wave_values_into).
Fields§
§points: Vec<WavePoint>The evaluated points.
use_dots: boolbUseDots: draw points instead of a line.
thick: boolbDrawThick.
additive: boolbAdditive.
Trait Implementations§
Source§impl Clone for CustomWave
impl Clone for CustomWave
Source§impl Debug for CustomWave
impl Debug for CustomWave
Auto Trait Implementations§
impl Forget for CustomWave
impl Freeze for CustomWave
impl Move for CustomWave
impl RefUnwindSafe for CustomWave
impl Send for CustomWavewhere
RawVecInner: Send,
impl Sync for CustomWavewhere
RawVecInner: Sync,
impl Unpin for CustomWave
impl UnsafeUnpin for CustomWave
impl UnwindSafe for CustomWavewhere
RawVecInner: UnwindSafe,
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