[go: up one dir, main page]

Struct orbclient::event::ScrollEvent[][src]

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

A event for scrolling the mouse

Fields

The x distance of the scroll

The y distance of the scroll

Methods

impl ScrollEvent
[src]

Convert to an Event

Convert an Event to a ScrollEvent

Trait Implementations

impl Copy for ScrollEvent
[src]

impl Clone for ScrollEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ScrollEvent
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ScrollEvent

impl Sync for ScrollEvent