pub struct MouseEnter { /* private fields */ }Implementations§
Source§impl MouseEnter
impl MouseEnter
pub fn prevent_default(&self)
pub fn stop_propagation(&self)
pub fn stop_immediate_propagation(&self)
pub fn target(&self) -> Option<EventTarget>
pub fn dyn_target<A>(&self) -> Option<A>where
A: JsCast,
Source§impl MouseEnter
impl MouseEnter
pub fn x(&self) -> i32
pub fn y(&self) -> i32
pub fn movement_x(&self) -> i32
pub fn movement_y(&self) -> i32
pub fn offset_x(&self) -> i32
pub fn offset_y(&self) -> i32
pub fn page_x(&self) -> i32
pub fn page_y(&self) -> i32
pub fn screen_x(&self) -> i32
pub fn screen_y(&self) -> i32
pub fn ctrl_key(&self) -> bool
pub fn shift_key(&self) -> bool
pub fn alt_key(&self) -> bool
pub fn mouse_x(&self) -> i32
pub fn mouse_y(&self) -> i32
Trait Implementations§
Source§impl Debug for MouseEnter
impl Debug for MouseEnter
Source§impl StaticEvent for MouseEnter
impl StaticEvent for MouseEnter
const EVENT_TYPE: &'static str = "mouseenter"
fn unchecked_from_event(event: Event) -> Self
Auto Trait Implementations§
impl Freeze for MouseEnter
impl RefUnwindSafe for MouseEnter
impl !Send for MouseEnter
impl !Sync for MouseEnter
impl Unpin for MouseEnter
impl UnwindSafe for MouseEnter
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