pub struct ShellHwState {
pub analog_jack_states: [ShellAnalogJackState; 2],
pub firewire_led: FireWireLedState,
}
Expand description
Hardware state.
Fields§
§analog_jack_states: [ShellAnalogJackState; 2]
The state of analog jack with sense.
firewire_led: FireWireLedState
The state of FireWire LED.
Trait Implementations§
Source§impl AsMut<ShellHwState> for ItwinHwState
impl AsMut<ShellHwState> for ItwinHwState
Source§fn as_mut(&mut self) -> &mut ShellHwState
fn as_mut(&mut self) -> &mut ShellHwState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ShellHwState> for K24dHwState
impl AsMut<ShellHwState> for K24dHwState
Source§fn as_mut(&mut self) -> &mut ShellHwState
fn as_mut(&mut self) -> &mut ShellHwState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ShellHwState> for K8HwState
impl AsMut<ShellHwState> for K8HwState
Source§fn as_mut(&mut self) -> &mut ShellHwState
fn as_mut(&mut self) -> &mut ShellHwState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<ShellHwState> for KliveHwState
impl AsMut<ShellHwState> for KliveHwState
Source§fn as_mut(&mut self) -> &mut ShellHwState
fn as_mut(&mut self) -> &mut ShellHwState
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ShellHwState> for ItwinHwState
impl AsRef<ShellHwState> for ItwinHwState
Source§fn as_ref(&self) -> &ShellHwState
fn as_ref(&self) -> &ShellHwState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ShellHwState> for K24dHwState
impl AsRef<ShellHwState> for K24dHwState
Source§fn as_ref(&self) -> &ShellHwState
fn as_ref(&self) -> &ShellHwState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ShellHwState> for K8HwState
impl AsRef<ShellHwState> for K8HwState
Source§fn as_ref(&self) -> &ShellHwState
fn as_ref(&self) -> &ShellHwState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<ShellHwState> for KliveHwState
impl AsRef<ShellHwState> for KliveHwState
Source§fn as_ref(&self) -> &ShellHwState
fn as_ref(&self) -> &ShellHwState
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ShellHwState
impl Clone for ShellHwState
Source§fn clone(&self) -> ShellHwState
fn clone(&self) -> ShellHwState
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 ShellHwState
impl Debug for ShellHwState
Source§impl Default for ShellHwState
impl Default for ShellHwState
Source§fn default() -> ShellHwState
fn default() -> ShellHwState
Returns the “default value” for a type. Read more
Source§impl PartialEq for ShellHwState
impl PartialEq for ShellHwState
impl Copy for ShellHwState
impl Eq for ShellHwState
impl StructuralPartialEq for ShellHwState
Auto Trait Implementations§
impl Freeze for ShellHwState
impl RefUnwindSafe for ShellHwState
impl Send for ShellHwState
impl Sync for ShellHwState
impl Unpin for ShellHwState
impl UnwindSafe for ShellHwState
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