Enum yy_typings::object_yy::MouseEvent [−][src]
pub enum MouseEvent {
Down(MouseButton),
Pressed(MouseButton),
Released(MouseButton),
NoInput,
MouseEnter,
MouseExit,
MouseWheelUp,
MouseWheelDown,
}
Variants
Down(MouseButton)
Tuple Fields of Down
0: MouseButton
Pressed(MouseButton)
Tuple Fields of Pressed
0: MouseButton
Released(MouseButton)
Tuple Fields of Released
0: MouseButton
Implementations
Tries to convert an event_num
to a MouseEvent. This is for internal
usage, but is made public to attempt to be a 100% pub facing crate.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for MouseEvent
impl Send for MouseEvent
impl Sync for MouseEvent
impl Unpin for MouseEvent
impl UnwindSafe for MouseEvent
Blanket Implementations
Mutably borrows from an owned value. Read more