Struct chrome_remote_interface_model::input::TouchPointBuilder[][src]

pub struct TouchPointBuilder { /* fields omitted */ }
This is supported on crate feature Input only.

Implementations

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.0).

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

Rotation angle (default: 0.0).

Force (default: 1.0).

This is supported on crate feature experimental only.

The normalized tangential pressure, which has a range of [-1,1] (default: 0).

This is supported on crate feature experimental only.

The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0)

This is supported on crate feature experimental only.

The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).

This is supported on crate feature experimental only.

The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.