pub trait KeyboardKey:
Copy
+ Eq
+ Debug { }Expand description
A base class for all keyboard key types.
See also:
PhysicalKeyboardKey, a type with constants that describe the keys that are returned fromRawKeyEvent.physicalKey.LogicalKeyboardKey, a type with constants that describe the keys that are returned fromRawKeyEvent.logicalKey.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".