Struct win32console::structs::input_event::ButtonState [−][src]
pub struct ButtonState(_);
Expand description
Represents the state of the mouse buttons.
link: https://docs.microsoft.com/en-us/windows/console/mouse-event-record-str#members
Implementations
Returns whether the button is released or pressed.
Returns whether the left button was pressed.
Returns whether the right button was pressed.
Returns whether the right button was pressed.
Returns whether there is a down scroll.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ButtonState
impl Send for ButtonState
impl Sync for ButtonState
impl Unpin for ButtonState
impl UnwindSafe for ButtonState
Blanket Implementations
Mutably borrows from an owned value. Read more