Struct conrod::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]

[src]

Returns a copy of the Motion relative to the given xy

Trait Implementations

impl Copy for Motion
[src]

impl Clone for Motion
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.