Struct nannou::ui::event::Tap [−][src]
All relevant information for a touch-screen tap event.
Fields
id: Id
The unique identifier of the source of the touch.
xy: [f64; 2]
The position at which the finger left the screen.
Methods
impl Tap
[src]
impl Tap
pub fn relative_to(&self, xy: [f64; 2]) -> Tap
[src]
pub fn relative_to(&self, xy: [f64; 2]) -> Tap
Returns a copy of the Tap
relative to the given xy
Trait Implementations
impl Clone for Tap
[src]
impl Clone for Tap
fn clone(&self) -> Tap
[src]
fn clone(&self) -> Tap
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Tap
[src]
impl Debug for Tap
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Tap> for Widget
[src]
impl From<Tap> for Widget
impl Copy for Tap
[src]
impl Copy for Tap
impl PartialEq<Tap> for Tap
[src]
impl PartialEq<Tap> for Tap