pub struct GetNodeForLocationReturns {
pub backend_node_id: BackendNodeId,
pub frame_id: FrameId,
pub node_id: Option<NodeId>,
}Expand description
Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not. getNodeForLocation
Fields§
§backend_node_id: BackendNodeIdResulting node.
frame_id: FrameIdFrame this node belongs to.
node_id: Option<NodeId>Id of the node at given coordinates, only when enabled and requested document.
Implementations§
Source§impl GetNodeForLocationReturns
impl GetNodeForLocationReturns
pub fn new( backend_node_id: impl Into<BackendNodeId>, frame_id: impl Into<FrameId>, ) -> GetNodeForLocationReturns
Trait Implementations§
Source§impl Clone for GetNodeForLocationReturns
impl Clone for GetNodeForLocationReturns
Source§fn clone(&self) -> GetNodeForLocationReturns
fn clone(&self) -> GetNodeForLocationReturns
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 GetNodeForLocationReturns
impl Debug for GetNodeForLocationReturns
Source§impl<'de> Deserialize<'de> for GetNodeForLocationReturns
impl<'de> Deserialize<'de> for GetNodeForLocationReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetNodeForLocationReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetNodeForLocationReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GetNodeForLocationReturns
impl Serialize for GetNodeForLocationReturns
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetNodeForLocationReturns
Auto Trait Implementations§
impl Freeze for GetNodeForLocationReturns
impl RefUnwindSafe for GetNodeForLocationReturns
impl Send for GetNodeForLocationReturns
impl Sync for GetNodeForLocationReturns
impl Unpin for GetNodeForLocationReturns
impl UnwindSafe for GetNodeForLocationReturns
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