pub struct ChannelLevel {
pub peak: f32,
pub rms: f32,
pub peak_hold: f32,
}Expand description
Audio level information for a single channel
Fields§
§peak: f32Peak level (0.0 to 1.0, where 1.0 = 0dB)
rms: f32RMS level (0.0 to 1.0)
peak_hold: f32Peak hold level (0.0 to 1.0)
Implementations§
Trait Implementations§
Source§impl Clone for ChannelLevel
impl Clone for ChannelLevel
Source§fn clone(&self) -> ChannelLevel
fn clone(&self) -> ChannelLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelLevel
Source§impl Debug for ChannelLevel
impl Debug for ChannelLevel
Auto Trait Implementations§
impl Freeze for ChannelLevel
impl RefUnwindSafe for ChannelLevel
impl Send for ChannelLevel
impl Sync for ChannelLevel
impl Unpin for ChannelLevel
impl UnsafeUnpin for ChannelLevel
impl UnwindSafe for ChannelLevel
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