pub struct MouseClickEvent {
pub window_id: u32,
pub state: MouseButtonState,
pub button: MouseButton,
pub x: f64,
pub y: f64,
pub modifiers: KeyModifiers,
pub click_count: i32,
}Fields§
§window_id: u32§state: MouseButtonState§x: f64§y: f64§modifiers: KeyModifiers§click_count: i32Implementations§
Trait Implementations§
Source§impl Clone for MouseClickEvent
impl Clone for MouseClickEvent
Source§fn clone(&self) -> MouseClickEvent
fn clone(&self) -> MouseClickEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for MouseClickEvent
impl RefUnwindSafe for MouseClickEvent
impl Send for MouseClickEvent
impl Sync for MouseClickEvent
impl Unpin for MouseClickEvent
impl UnsafeUnpin for MouseClickEvent
impl UnwindSafe for MouseClickEvent
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