pub struct KeyInput {
pub key: Key,
pub modifiers: Modifiers,
pub pressed: bool,
pub repeat: bool,
}Fields§
§key: Key§modifiers: Modifiers§pressed: bool§repeat: boolImplementations§
Trait Implementations§
impl Copy for KeyInput
impl Eq for KeyInput
impl StructuralPartialEq for KeyInput
Auto Trait Implementations§
impl Forget for KeyInput
impl Freeze for KeyInput
impl Move for KeyInput
impl RefUnwindSafe for KeyInput
impl Send for KeyInput
impl Sync for KeyInput
impl Unpin for KeyInput
impl UnsafeUnpin for KeyInput
impl UnwindSafe for KeyInput
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