pub struct Db(/* private fields */);Expand description
This represents a volume measured in decibel.
Implementations§
Source§impl Db
impl Db
Sourcepub const MIN: Db = Db::MINUS_INF
pub const MIN: Db = Db::MINUS_INF
The minimum possible value (= MINUS_INF).
There’s no maximum value because REAPER allows to exceed the “soft maximum” of 12 dB!
Sourcepub const NAN: ReaperVolumeValue
pub const NAN: ReaperVolumeValue
The not-a-number volume (f64::NAN = 1.#R dB).
Sourcepub const MINUS_150_DB: Db
pub const MINUS_150_DB: Db
The “soft minimum” volume (-150.0 dB).
Trait Implementations§
Source§impl PartialOrd for Db
impl PartialOrd for Db
impl Copy for Db
impl StructuralPartialEq for Db
Auto Trait Implementations§
impl Freeze for Db
impl RefUnwindSafe for Db
impl Send for Db
impl Sync for Db
impl Unpin for Db
impl UnwindSafe for Db
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