Struct HidClassSettings
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§
§impl Default for HidClassSettings
impl Default for HidClassSettings
§fn default() -> HidClassSettings
fn default() -> HidClassSettings
Returns the “default value” for a type. Read more
§impl Format for HidClassSettings
impl Format for HidClassSettings
Auto Trait Implementations§
impl Freeze for HidClassSettings
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