pub struct Event {
pub cursor_pos: LogicalVector,
pub modifiers: ModifiersState,
pub kind: EventKind,
}
Fields
cursor_pos: LogicalVector
The position of the cursor in virtual pixels relative to the top left corner of the window.
modifiers: ModifiersState
kind: EventKind
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more