Struct cdp::input::TouchPoint [] [src]

pub struct TouchPoint {
    pub x: i32,
    pub y: i32,
    pub radius_x: Option<i32>,
    pub radius_y: Option<i32>,
    pub rotation_angle: Option<f64>,
    pub force: Option<f64>,
    pub id: Option<f64>,
}

[Experimental]

Fields

X coordinate of the event relative to the main frame's viewport in CSS pixels.

Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.

X radius of the touch area (default: 1).

Y radius of the touch area (default: 1).

Rotation angle (default: 0.0).

Force (default: 1.0).

Identifier used to track touch sources between events, must be unique within an event.

Trait Implementations

impl Clone for TouchPoint
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TouchPoint
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TouchPoint
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.