Struct show_image::event::MouseButtonState [−][src]
pub struct MouseButtonState { /* fields omitted */ }
Expand description
The state of all mouse buttons.
Implementations
Check if a button is pressed.
Iterate over all pressed buttons.
Mark a button as pressed or unpressed.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MouseButtonState
impl Send for MouseButtonState
impl Sync for MouseButtonState
impl Unpin for MouseButtonState
impl UnwindSafe for MouseButtonState
Blanket Implementations
Mutably borrows from an owned value. Read more