pub struct GetNodeForLocation {
pub x: JsUInt,
pub y: JsUInt,
pub include_user_agent_shadow_dom: Option<bool>,
pub ignore_pointer_events_none: Option<bool>,
}Expand description
Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not.
Fields§
§x: JsUIntX coordinate.
y: JsUIntY coordinate.
include_user_agent_shadow_dom: Option<bool>False to skip to the nearest non-UA shadow root ancestor (default: false).
ignore_pointer_events_none: Option<bool>Whether to ignore pointer-events: none on elements and hit test them.
Trait Implementations§
Source§impl Clone for GetNodeForLocation
impl Clone for GetNodeForLocation
Source§fn clone(&self) -> GetNodeForLocation
fn clone(&self) -> GetNodeForLocation
Returns a duplicate 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 GetNodeForLocation
impl Debug for GetNodeForLocation
Source§impl<'de> Deserialize<'de> for GetNodeForLocation
impl<'de> Deserialize<'de> for GetNodeForLocation
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
Source§impl Method for GetNodeForLocation
impl Method for GetNodeForLocation
const NAME: &'static str = "DOM.getNodeForLocation"
type ReturnObject = GetNodeForLocationReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for GetNodeForLocation
impl PartialEq for GetNodeForLocation
Source§impl Serialize for GetNodeForLocation
impl Serialize for GetNodeForLocation
impl StructuralPartialEq for GetNodeForLocation
Auto Trait Implementations§
impl Freeze for GetNodeForLocation
impl RefUnwindSafe for GetNodeForLocation
impl Send for GetNodeForLocation
impl Sync for GetNodeForLocation
impl Unpin for GetNodeForLocation
impl UnsafeUnpin for GetNodeForLocation
impl UnwindSafe for GetNodeForLocation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more