[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]

[src]

Convert to an Event

[src]

Convert an Event to a ScrollEvent

Trait Implementations

impl Copy for ScrollEvent
[src]

impl Clone for ScrollEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ScrollEvent
[src]

[src]

Formats the value using the given formatter.