Struct orbclient::event::ScrollEvent [−][src]
A event for scrolling the mouse
Fields
x: i32
The x distance of the scroll
y: i32
The y distance of the scroll
Methods
impl ScrollEvent[src]
impl ScrollEventpub fn to_event(&self) -> Event[src]
pub fn to_event(&self) -> EventConvert to an Event
pub fn from_event(event: Event) -> ScrollEvent[src]
pub fn from_event(event: Event) -> ScrollEventConvert an Event to a ScrollEvent
Trait Implementations
impl Copy for ScrollEvent[src]
impl Copy for ScrollEventimpl Clone for ScrollEvent[src]
impl Clone for ScrollEventfn clone(&self) -> ScrollEvent[src]
fn clone(&self) -> ScrollEventReturns 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 ScrollEvent[src]
impl Debug for ScrollEventAuto Trait Implementations
impl Send for ScrollEvent
impl Send for ScrollEventimpl Sync for ScrollEvent
impl Sync for ScrollEvent