pub trait DbMag {
// Required methods
fn mixed_mag2db(&self) -> Self;
fn mixed_db2mag(&self) -> Self;
}Required Methods§
Sourcefn mixed_mag2db(&self) -> Self
fn mixed_mag2db(&self) -> Self
Convert between magnitude in linear scale and Decibel (dB).
Sourcefn mixed_db2mag(&self) -> Self
fn mixed_db2mag(&self) -> Self
Convert between Decibell (dB) and linear scale magnitude.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.