pub struct Press {
pub button: Button,
pub modifiers: ModifierKey,
}Expand description
Contains all relevant information for a Press event.
Fields§
The Button that was pressed.
modifiers: ModifierKeyThe modifier keys that were down at the time.
Implementations§
Trait Implementations§
impl Copy for Press
impl StructuralPartialEq for Press
Auto Trait Implementations§
impl Freeze for Press
impl RefUnwindSafe for Press
impl Send for Press
impl Sync for Press
impl Unpin for Press
impl UnwindSafe for Press
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