Struct nannou::ui::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 Clone for Scroll
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Scroll
[src]

Formats the value using the given formatter. Read more

impl From<Scroll> for Widget
[src]

Performs the conversion.

impl Copy for Scroll
[src]

impl PartialEq<Scroll> for Scroll
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Scroll

impl Sync for Scroll