[go: up one dir, main page]

Struct orbclient::event::MouseEvent [] [src]

pub struct MouseEvent {
    pub x: i32,
    pub y: i32,
}

A event related to the mouse

Fields

The x coordinate of the mouse

The y coordinate of the mouse

Methods

impl MouseEvent
[src]

Convert to an Event

Convert an Event to a MouseEvent

Trait Implementations

impl Copy for MouseEvent
[src]

impl Clone for MouseEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MouseEvent
[src]

Formats the value using the given formatter.