Struct conrod::event::Motion
[−]
[src]
pub struct Motion { 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 Motion
[src]
fn relative_to(&self, xy: Point) -> Motion
[src]
Returns a copy of the Motion
relative to the given xy
Trait Implementations
impl Copy for Motion
[src]
impl Clone for Motion
[src]
fn clone(&self) -> Motion
[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 Motion
[src]
fn eq(&self, __arg_0: &Motion) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Motion) -> bool
[src]
This method tests for !=
.