pub struct DesktopPanel {
pub panel_button_count: u32,
pub main_knob_value: i32,
pub phone_knob_value: i32,
pub mix_knob_value: u32,
pub reverb_led_on: bool,
pub reverb_knob_value: i32,
pub firewire_led: FireWireLedState,
}
Expand description
Panel in hardware surface.
Fields§
The count of panel button to push.
main_knob_value: i32
The value of main knob, between -1000 and 0.
phone_knob_value: i32
The value of phone knob, between -1000 and 0.
mix_knob_value: u32
The value of mix knob, between 0 and 1000.
reverb_led_on: bool
The state of reverb LED.
reverb_knob_value: i32
The value of reverb knob, between -1000 and 0.
firewire_led: FireWireLedState
The state of FireWire LED.
Trait Implementations§
Source§impl AsMut<FireWireLedState> for DesktopPanel
impl AsMut<FireWireLedState> for DesktopPanel
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 DesktopPanel
impl AsRef<FireWireLedState> for DesktopPanel
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 DesktopPanel
impl Clone for DesktopPanel
Source§fn clone(&self) -> DesktopPanel
fn clone(&self) -> DesktopPanel
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 DesktopPanel
impl Debug for DesktopPanel
Source§impl Default for DesktopPanel
impl Default for DesktopPanel
Source§fn default() -> DesktopPanel
fn default() -> DesktopPanel
Returns the “default value” for a type. Read more
Source§impl PartialEq for DesktopPanel
impl PartialEq for DesktopPanel
Source§impl TcKonnektMutableSegmentOperation<DesktopPanel> for Desktopk6Protocol
impl TcKonnektMutableSegmentOperation<DesktopPanel> for Desktopk6Protocol
Source§impl TcKonnektNotifiedSegmentOperation<DesktopPanel> for Desktopk6Protocol
impl TcKonnektNotifiedSegmentOperation<DesktopPanel> for Desktopk6Protocol
const NOTIFY_FLAG: u32 = 524_288u32
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<DesktopPanel> for Desktopk6Protocol
impl TcKonnektSegmentSerdes<DesktopPanel> for Desktopk6Protocol
impl Copy for DesktopPanel
impl Eq for DesktopPanel
impl StructuralPartialEq for DesktopPanel
Auto Trait Implementations§
impl Freeze for DesktopPanel
impl RefUnwindSafe for DesktopPanel
impl Send for DesktopPanel
impl Sync for DesktopPanel
impl Unpin for DesktopPanel
impl UnwindSafe for DesktopPanel
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