#[repr(transparent)]pub struct Gainl(pub u32);
Expand description
Left output gain adjustment
Tuple Fields§
§0: u32
Implementations§
Source§impl Gainl
impl Gainl
Sourcepub const fn gainl(&self) -> Gain
pub const fn gainl(&self) -> Gain
Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (…) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (…) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust
Sourcepub fn set_gainl(&mut self, val: Gain)
pub fn set_gainl(&mut self, val: Gain)
Left output gain adjustment, in 0.5 dB steps, around the default module gain (see electrical parameters) 0x00 -20 dB gain adjust 0x01 -19.5 dB gain adjust (…) 0x27 -0.5 dB gain adjust 0x28 0 dB gain adjust 0x29 +0.5 dB gain adjust (…) 0x4F +19.5 dB gain adjust 0x50 +20 dB gain adjust
Trait Implementations§
impl Copy for Gainl
impl Eq for Gainl
impl StructuralPartialEq for Gainl
Auto Trait Implementations§
impl Freeze for Gainl
impl RefUnwindSafe for Gainl
impl Send for Gainl
impl Sync for Gainl
impl Unpin for Gainl
impl UnwindSafe for Gainl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)