Enum sciter::windowless::MOUSE_EVENTS
source · [−]#[repr(C)]
pub enum MOUSE_EVENTS {
Show 16 variants
MOUSE_ENTER,
MOUSE_LEAVE,
MOUSE_MOVE,
MOUSE_UP,
MOUSE_DOWN,
MOUSE_DCLICK,
MOUSE_WHEEL,
MOUSE_TICK,
MOUSE_IDLE,
DROP,
DRAG_ENTER,
DRAG_LEAVE,
DRAG_REQUEST,
MOUSE_TCLICK,
MOUSE_CLICK,
DRAGGING,
}
Expand description
Mouse events.
Variants
MOUSE_ENTER
MOUSE_LEAVE
MOUSE_MOVE
MOUSE_UP
MOUSE_DOWN
MOUSE_DCLICK
MOUSE_WHEEL
MOUSE_TICK
mouse pressed ticks
MOUSE_IDLE
mouse stay idle for some time
DROP
item dropped, target is that dropped item
DRAG_ENTER
drag arrived to the target element that is one of current drop targets.
DRAG_LEAVE
drag left one of current drop targets. target is the drop target element.
DRAG_REQUEST
drag src notification before drag start. To cancel - return true from handler.
MOUSE_TCLICK
mouse triple click.
MOUSE_CLICK
mouse click event
DRAGGING
This flag is OR
ed with MOUSE_ENTER..MOUSE_DOWN
codes if dragging operation is in effect.
E.g. event DRAGGING | MOUSE_MOVE
is sent to underlying DOM elements while dragging.
Trait Implementations
sourceimpl Clone for MOUSE_EVENTS
impl Clone for MOUSE_EVENTS
sourcefn clone(&self) -> MOUSE_EVENTS
fn clone(&self) -> MOUSE_EVENTS
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MOUSE_EVENTS
impl Debug for MOUSE_EVENTS
sourceimpl PartialEq<MOUSE_EVENTS> for MOUSE_EVENTS
impl PartialEq<MOUSE_EVENTS> for MOUSE_EVENTS
sourceimpl PartialOrd<MOUSE_EVENTS> for MOUSE_EVENTS
impl PartialOrd<MOUSE_EVENTS> for MOUSE_EVENTS
sourcefn partial_cmp(&self, other: &MOUSE_EVENTS) -> Option<Ordering>
fn partial_cmp(&self, other: &MOUSE_EVENTS) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for MOUSE_EVENTS
impl StructuralPartialEq for MOUSE_EVENTS
Auto Trait Implementations
impl RefUnwindSafe for MOUSE_EVENTS
impl Send for MOUSE_EVENTS
impl Sync for MOUSE_EVENTS
impl Unpin for MOUSE_EVENTS
impl UnwindSafe for MOUSE_EVENTS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more