#[repr(C)]pub struct StatusAbi {
pub version: u16,
pub connected: u8,
pub indicators: u8,
pub reserved: [u8; 4],
}Expand description
Connection state and keyboard indicators of the computer. Output of GET_STATUS.
Fields§
§version: u16§connected: u81 when a computer is connected and listening, else 0.
indicators: u8Keyboard indicator bitmask from the computer: INDICATOR_NUM_LOCK,
INDICATOR_CAPS_LOCK, INDICATOR_SCROLL_LOCK.
reserved: [u8; 4]Trait Implementations§
impl Copy for StatusAbi
impl Eq for StatusAbi
impl PlainData for StatusAbi
impl StructuralPartialEq for StatusAbi
Auto Trait Implementations§
impl Freeze for StatusAbi
impl RefUnwindSafe for StatusAbi
impl Send for StatusAbi
impl Sync for StatusAbi
impl Unpin for StatusAbi
impl UnsafeUnpin for StatusAbi
impl UnwindSafe for StatusAbi
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