pub struct VolumeRange {
pub min_db: f64,
pub max_db: f64,
pub res_db: f64,
}Expand description
The DAC’s volume range in decibels.
Fields§
§min_db: f64§max_db: f64§res_db: f64The finest step the DAC accepts (the smallest resolution over its sub-ranges).
Trait Implementations§
Source§impl Clone for VolumeRange
impl Clone for VolumeRange
impl Copy for VolumeRange
Source§impl Debug for VolumeRange
impl Debug for VolumeRange
Source§impl PartialEq for VolumeRange
impl PartialEq for VolumeRange
impl StructuralPartialEq for VolumeRange
Auto Trait Implementations§
impl Forget for VolumeRange
impl Freeze for VolumeRange
impl Move for VolumeRange
impl RefUnwindSafe for VolumeRange
impl Send for VolumeRange
impl Sync for VolumeRange
impl Unpin for VolumeRange
impl UnsafeUnpin for VolumeRange
impl UnwindSafe for VolumeRange
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