Struct usbd_hid::hid_class::HidClassSettings
source · pub struct HidClassSettings {
pub subclass: HidSubClass,
pub protocol: HidProtocol,
pub config: ProtocolModeConfig,
pub locale: HidCountryCode,
}
Expand description
Used to define specialized HID device settings Most commonly used to setup Boot Mode (6KRO) or Report Mode (NKRO) keyboards. Some OSs will also respect the HID locale setting of the keyboard to help choose the OS keyboard layout.
Fields§
§subclass: HidSubClass
§protocol: HidProtocol
§config: ProtocolModeConfig
§locale: HidCountryCode
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for HidClassSettings
impl Send for HidClassSettings
impl Sync for HidClassSettings
impl Unpin for HidClassSettings
impl UnwindSafe for HidClassSettings
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