#[non_exhaustive]pub enum Decibels {
_Phantom,
}Expand description
Decibel amplitude scale
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
_Phantom
Trait Implementations§
Source§impl AmpScaleSpec for Decibels
impl AmpScaleSpec for Decibels
Source§fn apply_from_power(power: f64) -> f64
fn apply_from_power(power: f64) -> f64
Apply conversion from power-domain value to the desired amplitude scale. Read more
Source§fn apply_db_in_place(x: &mut [f64], floor_db: f64) -> SpectrogramResult<()>
fn apply_db_in_place(x: &mut [f64], floor_db: f64) -> SpectrogramResult<()>
Apply dB conversion in-place on a power-domain vector. Read more
Source§impl<'de> Deserialize<'de> for Decibels
impl<'de> Deserialize<'de> for Decibels
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Decibels
impl Eq for Decibels
impl StructuralPartialEq for Decibels
Auto Trait Implementations§
impl Freeze for Decibels
impl RefUnwindSafe for Decibels
impl Send for Decibels
impl Sync for Decibels
impl Unpin for Decibels
impl UnwindSafe for Decibels
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