Struct pax_runtime_api::MouseEventArgs
source · pub struct MouseEventArgs {
pub x: f64,
pub y: f64,
pub button: MouseButton,
pub modifiers: Vec<ModifierKey>,
}
Expand description
Common properties in mouse events.
Fields§
§x: f64
§y: f64
§modifiers: Vec<ModifierKey>
Trait Implementations§
source§impl Clone for MouseEventArgs
impl Clone for MouseEventArgs
source§fn clone(&self) -> MouseEventArgs
fn clone(&self) -> MouseEventArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MouseEventArgs
impl Send for MouseEventArgs
impl Sync for MouseEventArgs
impl Unpin for MouseEventArgs
impl UnwindSafe for MouseEventArgs
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