Struct conrod_core::input::touch::Touch [−][src]
Expand description
Represents a touch interaction.
Each time a user touches the surface with a new finger, a new series of Touch
events
Start
, each with a unique identifier.
For every Id
there should be at least 2 events with Start
and End
(or Cancel
led)
Phase
s.
A Start
input received with the same Id
as a previously received End
does not
indicate that the same finger was used. Id
s are only used to distinguish between
overlapping touch interactions.
Fields
phase: Phase
The stage of the touch interaction.
id: Id
A unique identifier associated with the source of the touch interaction.
xy: Point
The location of the touch on the surface/screen. See Input
docs for information on
the co-ordinate system.
Implementations
Returns a copy of the Touch
relative to the given xy
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Touch
impl UnwindSafe for Touch
Blanket Implementations
Mutably borrows from an owned value. Read more