#[non_exhaustive]pub struct EqInfo {
pub band_count: u8,
pub db_range: u8,
pub capabilities: EqCapabilities,
pub db_min: i8,
pub db_max: i8,
}Expand description
EQ table information from get_eq_info.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.band_count: u8Number of frequency bands.
db_range: u8Gain range in dB; used as ±db_range when db_min/db_max are both 0.
capabilities: EqCapabilitiesHow EQ values are stored.
db_min: i8Minimum gain in dB, or 0 to imply -db_range.
db_max: i8Maximum gain in dB, or 0 to imply +db_range.
Implementations§
Trait Implementations§
impl Copy for EqInfo
impl Eq for EqInfo
impl StructuralPartialEq for EqInfo
Auto Trait Implementations§
impl Freeze for EqInfo
impl RefUnwindSafe for EqInfo
impl Send for EqInfo
impl Sync for EqInfo
impl Unpin for EqInfo
impl UnsafeUnpin for EqInfo
impl UnwindSafe for EqInfo
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