pub struct VuLevels {
pub peak_l: AtomicU32,
pub peak_r: AtomicU32,
}Expand description
Shared VU meter levels — written by audio thread, read by UI thread. Stored as f32 bits in AtomicU32 (lock-free, no allocation).
Fields§
§peak_l: AtomicU32Peak level (0.0..1.0) — decays over time.
peak_r: AtomicU32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for VuLevels
impl RefUnwindSafe for VuLevels
impl Send for VuLevels
impl Sync for VuLevels
impl Unpin for VuLevels
impl UnsafeUnpin for VuLevels
impl UnwindSafe for VuLevels
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