[go: up one dir, main page]

Struct orbclient::event::ButtonEvent [] [src]

pub struct ButtonEvent {
    pub left: bool,
    pub middle: bool,
    pub right: bool,
}

A event for clicking the mouse

Fields

Was the left button pressed?

Was the middle button pressed?

Was the right button pressed?

Methods

impl ButtonEvent
[src]

Convert to an Event

Convert an Event to a ButtonEvent

Trait Implementations

impl Copy for ButtonEvent
[src]

impl Clone for ButtonEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ButtonEvent
[src]

Formats the value using the given formatter.