pub struct WaveCode {Show 17 fields
pub index: usize,
pub enabled: bool,
pub samples: i32,
pub sep: i32,
pub b_spectrum: bool,
pub b_use_dots: bool,
pub b_draw_thick: bool,
pub b_additive: bool,
pub scaling: f32,
pub smoothing: f32,
pub r: f32,
pub g: f32,
pub b: f32,
pub a: f32,
pub per_frame_equations: Vec<String>,
pub per_point_equations: Vec<String>,
pub per_frame_init_equations: Vec<String>,
}Expand description
Custom waveform definition.
Fields§
§index: usize§enabled: bool§samples: i32§sep: i32§b_spectrum: bool§b_use_dots: bool§b_draw_thick: bool§b_additive: bool§scaling: f32§smoothing: f32§r: f32§g: f32§b: f32§a: f32§per_frame_equations: Vec<String>Per-frame equations for this wave
per_point_equations: Vec<String>Per-point equations for this wave
per_frame_init_equations: Vec<String>Initialization equations for this wave
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WaveCode
impl<'de> Deserialize<'de> for WaveCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for WaveCode
Auto Trait Implementations§
impl Freeze for WaveCode
impl RefUnwindSafe for WaveCode
impl Send for WaveCode
impl Sync for WaveCode
impl Unpin for WaveCode
impl UnwindSafe for WaveCode
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