Struct conrod::event::Tap
[−]
[src]
pub struct Tap { pub id: Id, pub xy: Point, }
All relevant information for a touch-screen tap event.
Fields
id: Id
The unique identifier of the source of the touch.
xy: Point
The position at which the finger left the screen.
Methods
impl Tap
[src]
fn relative_to(&self, xy: Point) -> Self
Returns a copy of the Tap
relative to the given xy
Trait Implementations
impl Copy for Tap
[src]
impl Clone for Tap
[src]
fn clone(&self) -> Tap
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 PartialEq for Tap
[src]
fn eq(&self, __arg_0: &Tap) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Tap) -> bool
This method tests for !=
.