pub struct ItwinHwState {
pub hw_state: ShellHwState,
pub listening_mode: ListeningMode,
}
Expand description
Hardware state.
Fields§
§hw_state: ShellHwState
State of hardware.
listening_mode: ListeningMode
Mode of listening.
Trait Implementations§
Source§impl AsMut<FireWireLedState> for ItwinHwState
impl AsMut<FireWireLedState> for ItwinHwState
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 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 AsRef<FireWireLedState> for ItwinHwState
impl AsRef<FireWireLedState> for ItwinHwState
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 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 Clone for ItwinHwState
impl Clone for ItwinHwState
Source§fn clone(&self) -> ItwinHwState
fn clone(&self) -> ItwinHwState
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 ItwinHwState
impl Debug for ItwinHwState
Source§impl Default for ItwinHwState
impl Default for ItwinHwState
Source§fn default() -> ItwinHwState
fn default() -> ItwinHwState
Returns the “default value” for a type. Read more
Source§impl PartialEq for ItwinHwState
impl PartialEq for ItwinHwState
Source§impl TcKonnektMutableSegmentOperation<ItwinHwState> for ItwinProtocol
impl TcKonnektMutableSegmentOperation<ItwinHwState> for ItwinProtocol
Source§impl TcKonnektNotifiedSegmentOperation<ItwinHwState> for ItwinProtocol
impl TcKonnektNotifiedSegmentOperation<ItwinHwState> for ItwinProtocol
const NOTIFY_FLAG: u32 = 16_777_216u32
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<ItwinHwState> for ItwinProtocol
impl TcKonnektSegmentSerdes<ItwinHwState> for ItwinProtocol
impl Copy for ItwinHwState
impl Eq for ItwinHwState
impl StructuralPartialEq for ItwinHwState
Auto Trait Implementations§
impl Freeze for ItwinHwState
impl RefUnwindSafe for ItwinHwState
impl Send for ItwinHwState
impl Sync for ItwinHwState
impl Unpin for ItwinHwState
impl UnwindSafe for ItwinHwState
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