pub struct ShellMixerState {
pub stream: ShellMonitorSrcPair,
pub analog: Vec<ShellMonitorSrcPair>,
pub digital: Vec<ShellMonitorSrcPair>,
pub mutes: ShellMonitorSrcMute,
pub output_volume: i32,
pub output_dim_enable: bool,
pub output_dim_volume: i32,
}
Expand description
State of mixer.
Fields§
§stream: ShellMonitorSrcPair
For stream inputs.
analog: Vec<ShellMonitorSrcPair>
For analog inputs.
digital: Vec<ShellMonitorSrcPair>
For digital inputs.
mutes: ShellMonitorSrcMute
§output_volume: i32
The level of output volume.
output_dim_enable: bool
Whether to dim level of output volume
output_dim_volume: i32
The level of output volume at dimmed.
Trait Implementations§
Source§impl AsMut<ShellMixerState> for ItwinMixerState
impl AsMut<ShellMixerState> for ItwinMixerState
Source§fn as_mut(&mut self) -> &mut ShellMixerState
fn as_mut(&mut self) -> &mut ShellMixerState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ShellMixerState> for K24dMixerState
impl AsMut<ShellMixerState> for K24dMixerState
Source§fn as_mut(&mut self) -> &mut ShellMixerState
fn as_mut(&mut self) -> &mut ShellMixerState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ShellMixerState> for K8MixerState
impl AsMut<ShellMixerState> for K8MixerState
Source§fn as_mut(&mut self) -> &mut ShellMixerState
fn as_mut(&mut self) -> &mut ShellMixerState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ShellMixerState> for KliveMixerState
impl AsMut<ShellMixerState> for KliveMixerState
Source§fn as_mut(&mut self) -> &mut ShellMixerState
fn as_mut(&mut self) -> &mut ShellMixerState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ShellMixerState> for ItwinMixerState
impl AsRef<ShellMixerState> for ItwinMixerState
Source§fn as_ref(&self) -> &ShellMixerState
fn as_ref(&self) -> &ShellMixerState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ShellMixerState> for K24dMixerState
impl AsRef<ShellMixerState> for K24dMixerState
Source§fn as_ref(&self) -> &ShellMixerState
fn as_ref(&self) -> &ShellMixerState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ShellMixerState> for K8MixerState
impl AsRef<ShellMixerState> for K8MixerState
Source§fn as_ref(&self) -> &ShellMixerState
fn as_ref(&self) -> &ShellMixerState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ShellMixerState> for KliveMixerState
impl AsRef<ShellMixerState> for KliveMixerState
Source§fn as_ref(&self) -> &ShellMixerState
fn as_ref(&self) -> &ShellMixerState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ShellMixerState
impl Clone for ShellMixerState
Source§fn clone(&self) -> ShellMixerState
fn clone(&self) -> ShellMixerState
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 ShellMixerState
impl Debug for ShellMixerState
Source§impl PartialEq for ShellMixerState
impl PartialEq for ShellMixerState
impl Eq for ShellMixerState
impl StructuralPartialEq for ShellMixerState
Auto Trait Implementations§
impl Freeze for ShellMixerState
impl RefUnwindSafe for ShellMixerState
impl Send for ShellMixerState
impl Sync for ShellMixerState
impl Unpin for ShellMixerState
impl UnwindSafe for ShellMixerState
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