Enum win32console::structs::input_event::EventFlags [−][src]
#[repr(u32)]
pub enum EventFlags {
PressOrRelease,
MouseMoved,
DoubleClick,
MouseWheeled,
MouseHwheeled,
}
Expand description
Represents the type of mouse event.
link: https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str#members
Variants
The button is being pressed or released.
If the high word of the dwButtonState member contains a positive value, the wheel was rotated to the right. Otherwise, the wheel was rotated to the left.
The second click (button press) of a double-click occurred. The first click is returned as a regular button-press event.
A change in mouse position occurred. The vertical mouse wheel was moved, if the high word of the dwButtonState member contains a positive value, the wheel was rotated forward, away from the user. Otherwise, the wheel was rotated backward, toward the user.
The horizontal mouse wheel was moved.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventFlags
impl Send for EventFlags
impl Sync for EventFlags
impl Unpin for EventFlags
impl UnwindSafe for EventFlags
Blanket Implementations
Mutably borrows from an owned value. Read more