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).
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 Freeze for CustomWave
impl RefUnwindSafe for CustomWave
impl Send for CustomWave
impl Sync for CustomWave
impl Unpin for CustomWave
impl UnsafeUnpin for CustomWave
impl UnwindSafe for CustomWave
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