pub struct OutputPair {
pub volumes: [u8; 2],
pub mutes: [bool; 2],
pub src: OutputSrc,
pub link: bool,
}Expand description
Parameters for left and right channels of output.
Fields§
§volumes: [u8; 2]Volume of each channel, between 0x00 and 0xff.
mutes: [bool; 2]Whether to be muted for each channel.
src: OutputSrcSource of both channels.
link: boolWhether to link both channels.
Trait Implementations§
Source§impl Clone for OutputPair
impl Clone for OutputPair
Source§fn clone(&self) -> OutputPair
fn clone(&self) -> OutputPair
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 OutputPair
impl Debug for OutputPair
Source§impl Default for OutputPair
impl Default for OutputPair
Source§fn default() -> OutputPair
fn default() -> OutputPair
Returns the “default value” for a type. Read more
Source§impl PartialEq for OutputPair
impl PartialEq for OutputPair
impl Copy for OutputPair
impl Eq for OutputPair
impl StructuralPartialEq for OutputPair
Auto Trait Implementations§
impl Freeze for OutputPair
impl RefUnwindSafe for OutputPair
impl Send for OutputPair
impl Sync for OutputPair
impl Unpin for OutputPair
impl UnwindSafe for OutputPair
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