Type Alias usb_ids::HidItemType
source · pub type HidItemType = UsbId<HID_TYPE_TAG, u8>;
Expand description
Represents a HID descriptor item type in the USB database.
use usb_ids::{HidItemType, FromId};
let hid_item_type = HidItemType::from_id(0xb4).unwrap();
assert_eq!(hid_item_type.name(), "Pop");
Aliased Type§
struct HidItemType { /* private fields */ }