Struct conrod::event::Scroll [] [src]

pub struct Scroll {
    pub x: f64,
    pub y: f64,
    pub modifiers: ModifierKey,
}

Holds all the relevant information about a scroll event

Fields

The amount of scroll along the x axis.

The amount of scroll along the y axis.

Which modifier keys, if any, that were being held down while the scroll occured

Trait Implementations

impl Copy for Scroll
[src]

impl Clone for Scroll
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Scroll
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Scroll
[src]

[src]

Formats the value using the given formatter.