pub enum GAINRR {
MINGAIN,
DEFAULTGAIN,
MAXGAIN,
_Reserved(u8),
}
Expand description
Possible values of the field GAINR
Variants
MINGAIN
-20dB gain adjustment (minimum)
DEFAULTGAIN
0dB gain adjustment
MAXGAIN
+20dB gain adjustment (maximum)
_Reserved(u8)
Reserved
Implementations
sourceimpl GAINRR
impl GAINRR
sourcepub fn is_min_gain(&self) -> bool
pub fn is_min_gain(&self) -> bool
Checks if the value of the field is MINGAIN
sourcepub fn is_default_gain(&self) -> bool
pub fn is_default_gain(&self) -> bool
Checks if the value of the field is DEFAULTGAIN
sourcepub fn is_max_gain(&self) -> bool
pub fn is_max_gain(&self) -> bool
Checks if the value of the field is MAXGAIN
Trait Implementations
impl Copy for GAINRR
impl StructuralPartialEq for GAINRR
Auto Trait Implementations
impl RefUnwindSafe for GAINRR
impl Send for GAINRR
impl Sync for GAINRR
impl Unpin for GAINRR
impl UnwindSafe for GAINRR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more