Struct conrod::event::Move [] [src]

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

Contains all relevant information for a Motion event.

Fields

motion: Motion

The type of Motion that occurred.

modifiers: ModifierKey

The modifier keys that were down at the time.

Methods

impl Move
[src]

fn relative_to(&self, xy: Point) -> Move

Returns a copy of the Move relative to the given xy

Trait Implementations

impl Debug for Move
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Move
[src]

fn eq(&self, __arg_0: &Move) -> bool

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

fn ne(&self, __arg_0: &Move) -> bool

This method tests for !=.

impl Clone for Move
[src]

fn clone(&self) -> Move

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Move
[src]