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 Forget for WaveGeom
impl Freeze for WaveGeom
impl Move for WaveGeom
impl RefUnwindSafe for WaveGeom
impl Send for WaveGeomwhere
RawVecInner: Send,
impl Sync for WaveGeomwhere
RawVecInner: Sync,
impl Unpin for WaveGeom
impl UnsafeUnpin for WaveGeom
impl UnwindSafe for WaveGeomwhere
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