pub enum GAINLR {
MINGAIN,
DEFAULTGAIN,
MAXGAIN,
_Reserved(u8),
}
Expand description
Possible values of the field GAINL
Variants
MINGAIN
-20dB gain adjustment (minimum)
DEFAULTGAIN
0dB gain adjustment
MAXGAIN
+20dB gain adjustment (maximum)
_Reserved(u8)
Reserved
Implementations
sourceimpl GAINLR
impl GAINLR
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 GAINLR
impl StructuralPartialEq for GAINLR
Auto Trait Implementations
impl RefUnwindSafe for GAINLR
impl Send for GAINLR
impl Sync for GAINLR
impl Unpin for GAINLR
impl UnwindSafe for GAINLR
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