pub struct OnDoubleClick { /* private fields */ }Expand description
The event occurs when the user double-clicks on an element
- Bubbles: Yes
- Cancelable: Yes
- Event type:
MouseEvent - Supported HTML tags: All HTML elements, EXCEPT:
<base>,<bdo>,<br>,<head>,<html>,<iframe>,<meta>,<param>,<script>,<style>, and<title>.
Implementations§
Source§impl OnDoubleClick
impl OnDoubleClick
Getter for the button field of this object.
Getter for the buttons field of this object.
Getter for the relatedTarget field of this object.
Sourcepub fn movement_x(&self) -> i32
pub fn movement_x(&self) -> i32
Getter for the movementX field of this object.
Sourcepub fn movement_y(&self) -> i32
pub fn movement_y(&self) -> i32
Getter for the movementY field of this object.
Trait Implementations§
Source§impl Clone for OnDoubleClick
impl Clone for OnDoubleClick
Source§fn clone(&self) -> OnDoubleClick
fn clone(&self) -> OnDoubleClick
Returns a duplicate 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 moreSource§impl Debug for OnDoubleClick
impl Debug for OnDoubleClick
Auto Trait Implementations§
impl Freeze for OnDoubleClick
impl RefUnwindSafe for OnDoubleClick
impl !Send for OnDoubleClick
impl !Sync for OnDoubleClick
impl Unpin for OnDoubleClick
impl UnwindSafe for OnDoubleClick
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