Struct makepad_widgets::MouseDownEvent
pub struct MouseDownEvent {
pub abs: DVec2,
pub button: usize,
pub window_id: WindowId,
pub modifiers: KeyModifiers,
pub handled: Cell<Area>,
pub time: f64,
}
Fields§
§abs: DVec2
§window_id: WindowId
§modifiers: KeyModifiers
§handled: Cell<Area>
§time: f64
Trait Implementations§
§impl Clone for MouseDownEvent
impl Clone for MouseDownEvent
§fn clone(&self) -> MouseDownEvent
fn clone(&self) -> MouseDownEvent
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 more§impl Debug for MouseDownEvent
impl Debug for MouseDownEvent
§impl From<StdinMouseDown> for MouseDownEvent
impl From<StdinMouseDown> for MouseDownEvent
§fn from(v: StdinMouseDown) -> MouseDownEvent
fn from(v: StdinMouseDown) -> MouseDownEvent
Converts to this type from the input type.
§impl PartialEq<MouseDownEvent> for MouseDownEvent
impl PartialEq<MouseDownEvent> for MouseDownEvent
§fn eq(&self, other: &MouseDownEvent) -> bool
fn eq(&self, other: &MouseDownEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MouseDownEvent
Auto Trait Implementations§
impl !RefUnwindSafe for MouseDownEvent
impl Send for MouseDownEvent
impl !Sync for MouseDownEvent
impl Unpin for MouseDownEvent
impl UnwindSafe for MouseDownEvent
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