pub struct StudioHwState {
pub analog_jack_states: [StudioAnalogJackState; 12],
pub hp_state: [bool; 2],
pub firewire_led: FireWireLedState,
pub valid_master_level: bool,
}Expand description
Hardware state.
Fields§
§analog_jack_states: [StudioAnalogJackState; 12]The state of analog jack with sense.
hp_state: [bool; 2]State of headphone.
firewire_led: FireWireLedStateState of FireWire LED.
valid_master_level: boolWhether knob of master level is actually effective for volume of master output. This is needed since the volume is controlled by remote controller as well.
Trait Implementations§
Source§impl AsMut<FireWireLedState> for StudioHwState
impl AsMut<FireWireLedState> for StudioHwState
Source§fn as_mut(&mut self) -> &mut FireWireLedState
fn as_mut(&mut self) -> &mut FireWireLedState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<FireWireLedState> for StudioHwState
impl AsRef<FireWireLedState> for StudioHwState
Source§fn as_ref(&self) -> &FireWireLedState
fn as_ref(&self) -> &FireWireLedState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for StudioHwState
impl Clone for StudioHwState
Source§fn clone(&self) -> StudioHwState
fn clone(&self) -> StudioHwState
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 StudioHwState
impl Debug for StudioHwState
Source§impl Default for StudioHwState
impl Default for StudioHwState
Source§fn default() -> StudioHwState
fn default() -> StudioHwState
Returns the “default value” for a type. Read more
Source§impl PartialEq for StudioHwState
impl PartialEq for StudioHwState
Source§impl TcKonnektMutableSegmentOperation<StudioHwState> for Studiok48Protocol
impl TcKonnektMutableSegmentOperation<StudioHwState> for Studiok48Protocol
Source§impl TcKonnektNotifiedSegmentOperation<StudioHwState> for Studiok48Protocol
impl TcKonnektNotifiedSegmentOperation<StudioHwState> for Studiok48Protocol
const NOTIFY_FLAG: u32 = 67_108_864u32
Source§fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
fn is_notified_segment(_: &TcKonnektSegment<T>, msg: u32) -> bool
Check message to be notified or not.
Source§impl TcKonnektSegmentSerdes<StudioHwState> for Studiok48Protocol
impl TcKonnektSegmentSerdes<StudioHwState> for Studiok48Protocol
impl Copy for StudioHwState
impl Eq for StudioHwState
impl StructuralPartialEq for StudioHwState
Auto Trait Implementations§
impl Freeze for StudioHwState
impl RefUnwindSafe for StudioHwState
impl Send for StudioHwState
impl Sync for StudioHwState
impl Unpin for StudioHwState
impl UnwindSafe for StudioHwState
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