Struct orbclient::event::MouseEvent [−][src]
A event related to the mouse
Fields
x: i32
The x coordinate of the mouse
y: i32
The y coordinate of the mouse
Methods
impl MouseEvent[src]
impl MouseEventpub fn to_event(&self) -> Event[src]
pub fn to_event(&self) -> EventConvert to an Event
pub fn from_event(event: Event) -> MouseEvent[src]
pub fn from_event(event: Event) -> MouseEventConvert an Event to a MouseEvent
Trait Implementations
impl Copy for MouseEvent[src]
impl Copy for MouseEventimpl Clone for MouseEvent[src]
impl Clone for MouseEventfn clone(&self) -> MouseEvent[src]
fn clone(&self) -> MouseEventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for MouseEvent[src]
impl Debug for MouseEventAuto Trait Implementations
impl Send for MouseEvent
impl Send for MouseEventimpl Sync for MouseEvent
impl Sync for MouseEvent