Struct touch_visualizer::TouchVisualizer
[−]
[src]
pub struct TouchVisualizer { pub touch_values: TouchValues, // some fields omitted }
Visualizes touch input.
Fields
touch_values: TouchValues
Stores touch values.
Methods
impl TouchVisualizer
[src]
fn new() -> TouchVisualizer
[src]
Creates a new touch visualizer.
fn draw<G: Graphics>(&self, c: &Context, g: &mut G)
[src]
Draws touch visual graphics.
fn event<E: GenericEvent, S: Into<[u32; 2]>>(&mut self, window_size: S, e: &E)
[src]
Handles event.
Trait Implementations
impl Clone for TouchVisualizer
[src]
fn clone(&self) -> TouchVisualizer
[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