Struct chromiumoxide::cdp::browser_protocol::input::TouchPointBuilder
source · pub struct TouchPointBuilder { /* private fields */ }Implementations§
source§impl TouchPointBuilder
impl TouchPointBuilder
pub fn x(self, x: impl Into<f64>) -> TouchPointBuilder
pub fn y(self, y: impl Into<f64>) -> TouchPointBuilder
pub fn radius_x(self, radius_x: impl Into<f64>) -> TouchPointBuilder
pub fn radius_y(self, radius_y: impl Into<f64>) -> TouchPointBuilder
pub fn rotation_angle(self, rotation_angle: impl Into<f64>) -> TouchPointBuilder
pub fn force(self, force: impl Into<f64>) -> TouchPointBuilder
pub fn tangential_pressure( self, tangential_pressure: impl Into<f64> ) -> TouchPointBuilder
pub fn tilt_x(self, tilt_x: impl Into<i64>) -> TouchPointBuilder
pub fn tilt_y(self, tilt_y: impl Into<i64>) -> TouchPointBuilder
pub fn twist(self, twist: impl Into<i64>) -> TouchPointBuilder
pub fn id(self, id: impl Into<f64>) -> TouchPointBuilder
pub fn build(self) -> Result<TouchPoint, String>
Trait Implementations§
source§impl Clone for TouchPointBuilder
impl Clone for TouchPointBuilder
source§fn clone(&self) -> TouchPointBuilder
fn clone(&self) -> TouchPointBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for TouchPointBuilder
impl Default for TouchPointBuilder
source§fn default() -> TouchPointBuilder
fn default() -> TouchPointBuilder
Returns the “default value” for a type. Read more