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]
pub fn relative_to(&self, xy: Point) -> Move[src]
Returns a copy of the Move relative to the given xy
Trait Implementations
impl Copy for Move[src]
impl Clone for Move[src]
fn clone(&self) -> Move[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Move[src]
fn eq(&self, __arg_0: &Move) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Move) -> bool[src]
This method tests for !=.
impl Debug for Move[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more