pub struct AmbientSplReading {
pub available: bool,
pub spl_dba: f32,
pub is_loud_environment: bool,
}Expand description
Ambient Sound Pressure Level (SPL) reading bridged from live microphone audio metering.
Fields§
§available: bool§spl_dba: f32IEC 61672 A-weighted ambient sound pressure level (dBA).
is_loud_environment: booltrue when ambient noise exceeds 75 dBA (loud industrial / cockpit environment).
Implementations§
Trait Implementations§
Source§impl Clone for AmbientSplReading
impl Clone for AmbientSplReading
impl Copy for AmbientSplReading
Source§impl Debug for AmbientSplReading
impl Debug for AmbientSplReading
Source§impl Default for AmbientSplReading
impl Default for AmbientSplReading
Source§impl PartialEq for AmbientSplReading
impl PartialEq for AmbientSplReading
impl StructuralPartialEq for AmbientSplReading
Auto Trait Implementations§
impl Forget for AmbientSplReading
impl Freeze for AmbientSplReading
impl Move for AmbientSplReading
impl RefUnwindSafe for AmbientSplReading
impl Send for AmbientSplReading
impl Sync for AmbientSplReading
impl Unpin for AmbientSplReading
impl UnsafeUnpin for AmbientSplReading
impl UnwindSafe for AmbientSplReading
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