pub enum LevelDetectMode {
Peak,
Rms,
Reserved(u8),
}
Expand description
The way to decide loudness level of input signal.
Variants§
Peak
According to the peak of signal.
Rms
According to the Root Mean Square of signal.
Reserved(u8)
Trait Implementations§
Source§impl Clone for LevelDetectMode
impl Clone for LevelDetectMode
Source§fn clone(&self) -> LevelDetectMode
fn clone(&self) -> LevelDetectMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LevelDetectMode
impl Debug for LevelDetectMode
Source§impl Default for LevelDetectMode
impl Default for LevelDetectMode
Source§impl From<LevelDetectMode> for u8
impl From<LevelDetectMode> for u8
Source§fn from(mode: LevelDetectMode) -> Self
fn from(mode: LevelDetectMode) -> Self
Converts to this type from the input type.
Source§impl From<u8> for LevelDetectMode
impl From<u8> for LevelDetectMode
Source§impl PartialEq for LevelDetectMode
impl PartialEq for LevelDetectMode
impl Copy for LevelDetectMode
impl Eq for LevelDetectMode
impl StructuralPartialEq for LevelDetectMode
Auto Trait Implementations§
impl Freeze for LevelDetectMode
impl RefUnwindSafe for LevelDetectMode
impl Send for LevelDetectMode
impl Sync for LevelDetectMode
impl Unpin for LevelDetectMode
impl UnwindSafe for LevelDetectMode
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