Struct headless_chrome::protocol::cdp::Input::DispatchMouseEvent
source · pub struct DispatchMouseEvent {Show 16 fields
pub Type: DispatchMouseEventTypeOption,
pub x: JsFloat,
pub y: JsFloat,
pub modifiers: Option<JsUInt>,
pub timestamp: Option<TimeSinceEpoch>,
pub button: Option<MouseButton>,
pub buttons: Option<JsUInt>,
pub click_count: Option<JsUInt>,
pub force: Option<JsFloat>,
pub tangential_pressure: Option<JsFloat>,
pub tilt_x: Option<JsUInt>,
pub tilt_y: Option<JsUInt>,
pub twist: Option<JsUInt>,
pub delta_x: Option<JsFloat>,
pub delta_y: Option<JsFloat>,
pub pointer_Type: Option<DispatchMouseEventPointer_TypeOption>,
}Fields§
§Type: DispatchMouseEventTypeOption§x: JsFloat§y: JsFloat§modifiers: Option<JsUInt>§timestamp: Option<TimeSinceEpoch>§click_count: Option<JsUInt>§force: Option<JsFloat>§tangential_pressure: Option<JsFloat>§tilt_x: Option<JsUInt>§tilt_y: Option<JsUInt>§twist: Option<JsUInt>§delta_x: Option<JsFloat>§delta_y: Option<JsFloat>§pointer_Type: Option<DispatchMouseEventPointer_TypeOption>Trait Implementations§
source§impl Clone for DispatchMouseEvent
impl Clone for DispatchMouseEvent
source§fn clone(&self) -> DispatchMouseEvent
fn clone(&self) -> DispatchMouseEvent
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 Debug for DispatchMouseEvent
impl Debug for DispatchMouseEvent
source§impl<'de> Deserialize<'de> for DispatchMouseEvent
impl<'de> Deserialize<'de> for DispatchMouseEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more