Struct goxlr_ipc::MixerStatus
source · [−]pub struct MixerStatus {
pub hardware: HardwareStatus,
pub fader_status: [FaderStatus; 4],
pub mic_status: MicSettings,
pub volumes: [u8; 11],
pub router: [EnumSet<OutputDevice>; 8],
pub router_table: [[bool; 5]; 8],
pub profile_name: String,
pub mic_profile_name: String,
}
Fields
hardware: HardwareStatus
fader_status: [FaderStatus; 4]
mic_status: MicSettings
volumes: [u8; 11]
router: [EnumSet<OutputDevice>; 8]
router_table: [[bool; 5]; 8]
profile_name: String
mic_profile_name: String
Implementations
sourceimpl MixerStatus
impl MixerStatus
pub fn get_fader_status(&self, fader: FaderName) -> &FaderStatus
pub fn get_channel_volume(&self, channel: ChannelName) -> u8
pub fn set_channel_volume(&mut self, channel: ChannelName, volume: u8)
Trait Implementations
sourceimpl Clone for MixerStatus
impl Clone for MixerStatus
sourcefn clone(&self) -> MixerStatus
fn clone(&self) -> MixerStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MixerStatus
impl Debug for MixerStatus
sourceimpl<'de> Deserialize<'de> for MixerStatus
impl<'de> Deserialize<'de> for MixerStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for MixerStatus
impl Serialize for MixerStatus
Auto Trait Implementations
impl RefUnwindSafe for MixerStatus
impl Send for MixerStatus
impl Sync for MixerStatus
impl Unpin for MixerStatus
impl UnwindSafe for MixerStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more