pub struct ReprogControlEntry {
pub cid: u16,
pub task_id: u16,
pub flags: CidFlags,
}Expand description
Snapshot of one HID++ 0x1b04 reprogrammable control. Returned by
dump_reprog_controls for diagnostics so new device controls can be
identified before OpenLogi maps them to a first-class button.
Fields§
§cid: u16HID++ control ID.
task_id: u16Default task ID assigned to the control.
flags: CidFlagsCapability and classification flags for the control.
Trait Implementations§
Source§impl Clone for ReprogControlEntry
impl Clone for ReprogControlEntry
Source§fn clone(&self) -> ReprogControlEntry
fn clone(&self) -> ReprogControlEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReprogControlEntry
Source§impl Debug for ReprogControlEntry
impl Debug for ReprogControlEntry
Auto Trait Implementations§
impl Freeze for ReprogControlEntry
impl RefUnwindSafe for ReprogControlEntry
impl Send for ReprogControlEntry
impl Sync for ReprogControlEntry
impl Unpin for ReprogControlEntry
impl UnsafeUnpin for ReprogControlEntry
impl UnwindSafe for ReprogControlEntry
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