pub struct Gate {
pub enable: u16,
pub gain: Option<u16>,
}
Expand description
Reference to a control having both a mute and gain setting
Fields§
§enable: u16
Address controlling whether audio is enabled, 1 = off 2 = on
gain: Option<u16>
Address where the gain is controlled
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnwindSafe for Gate
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