pub struct MeterStore { /* private fields */ }Expand description
Fixed array of f32-bit atomic meter slots, indexed by meter id.
Writers (the shells’ meter_fn, called from process()) and
readers (editor get_meter closures) address slots by the meter’s
param-space id (METER_ID_BASE + index); ids outside the slot
range read as 0.0 and write as a no-op, so a stale or
out-of-range id can’t panic on either thread.
Implementations§
Auto Trait Implementations§
impl !Freeze for MeterStore
impl RefUnwindSafe for MeterStore
impl Send for MeterStore
impl Sync for MeterStore
impl Unpin for MeterStore
impl UnsafeUnpin for MeterStore
impl UnwindSafe for MeterStore
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