pub struct MixerSourcePair {
pub gains: [u8; 2],
pub balances: [u8; 2],
pub mutes: [bool; 2],
pub link: bool,
}Expand description
Parameters for channels (left and right) in a pair of source to mixer.
Fields§
§gains: [u8; 2]Gain for each channel, between 0x00 and 0xff.
balances: [u8; 2]Left and right balance for each channel, between 0x00 and 0x7f.
mutes: [bool; 2]Whether to be muted for each channel.
link: boolWhether to link both channels.
Trait Implementations§
Source§impl Clone for MixerSourcePair
impl Clone for MixerSourcePair
Source§fn clone(&self) -> MixerSourcePair
fn clone(&self) -> MixerSourcePair
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MixerSourcePair
impl Debug for MixerSourcePair
Source§impl Default for MixerSourcePair
impl Default for MixerSourcePair
Source§fn default() -> MixerSourcePair
fn default() -> MixerSourcePair
Returns the “default value” for a type. Read more
Source§impl PartialEq for MixerSourcePair
impl PartialEq for MixerSourcePair
impl Copy for MixerSourcePair
impl Eq for MixerSourcePair
impl StructuralPartialEq for MixerSourcePair
Auto Trait Implementations§
impl Freeze for MixerSourcePair
impl RefUnwindSafe for MixerSourcePair
impl Send for MixerSourcePair
impl Sync for MixerSourcePair
impl Unpin for MixerSourcePair
impl UnwindSafe for MixerSourcePair
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