Implement Default
for keyboard::ModifiersState
This commit is contained in:
parent
4e0e50ae27
commit
ed7c327b48
@ -1,5 +1,5 @@
|
||||
/// The current state of the keyboard modifiers.
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Default)]
|
||||
pub struct ModifiersState {
|
||||
/// Whether a shift key is pressed
|
||||
pub shift: bool,
|
||||
|
Loading…
x
Reference in New Issue
Block a user