Struct conrod::event::Press
[−]
[src]
pub struct Press { pub button: Button, pub modifiers: ModifierKey, }
Contains all relevant information for a Press event.
Fields
The Button
that was pressed.
modifiers: ModifierKey
The modifier keys that were down at the time.
Methods
impl Press
[src]
fn relative_to(&self, xy: Point) -> Press
Returns a copy of the Press relative to the given xy
Trait Implementations
impl Debug for Press
[src]
impl PartialEq for Press
[src]
fn eq(&self, __arg_0: &Press) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Press) -> bool
This method tests for !=
.
impl Clone for Press
[src]
fn clone(&self) -> Press
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