Struct nannou::ui::event::Motion[][src]

pub struct Motion {
    pub motion: Motion,
    pub modifiers: ModifierKey,
}

Contains all relevant information for a Motion event.

Fields

The type of Motion that occurred.

The modifier keys that were down at the time.

Methods

impl Motion
[src]

Returns a copy of the Motion relative to the given xy

Trait Implementations

impl Clone for Motion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Motion
[src]

Formats the value using the given formatter. Read more

impl From<Motion> for Widget
[src]

Performs the conversion.

impl Copy for Motion
[src]

impl PartialEq<Motion> for Motion
[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 Motion

impl Sync for Motion