pub struct WaveGeom {
pub verts: Vec<[f32; 2]>,
pub brk: Option<usize>,
pub alpha: f32,
pub rgb: [f32; 3],
}Expand description
Result of main_wave_geometry.
Fields§
§verts: Vec<[f32; 2]>Polyline / point vertices in clip space, before SmoothWave and thick offsets.
brk: Option<usize>Index at which the line strip is broken into two strips (nBreak), if any.
alpha: f32Final alpha (0..1) after per-mode scaling / volume modulation.
rgb: [f32; 3]Colour after clamping and “maximize colour”.
Trait Implementations§
impl StructuralPartialEq for WaveGeom
Auto Trait Implementations§
impl Freeze for WaveGeom
impl RefUnwindSafe for WaveGeom
impl Send for WaveGeom
impl Sync for WaveGeom
impl Unpin for WaveGeom
impl UnsafeUnpin for WaveGeom
impl UnwindSafe for WaveGeom
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