pub struct GetNodeForLocationReturn { /* private fields */ }Available on crate features
DOM and Runtime only.Expand description
Returns node id at given location. Depending on whether DOM domain is enabled, nodeId is either returned or not.
Implementations§
Source§impl GetNodeForLocationReturn
impl GetNodeForLocationReturn
pub fn new( backend_node_id: BackendNodeId, frame_id: FrameId, node_id: Option<NodeId>, ) -> Self
Sourcepub fn backend_node_id(&self) -> &BackendNodeId
pub fn backend_node_id(&self) -> &BackendNodeId
Resulting node.
Trait Implementations§
Source§impl Clone for GetNodeForLocationReturn
impl Clone for GetNodeForLocationReturn
Source§fn clone(&self) -> GetNodeForLocationReturn
fn clone(&self) -> GetNodeForLocationReturn
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 GetNodeForLocationReturn
impl Debug for GetNodeForLocationReturn
Source§impl<'de> Deserialize<'de> for GetNodeForLocationReturn
impl<'de> Deserialize<'de> for GetNodeForLocationReturn
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
Auto Trait Implementations§
impl Freeze for GetNodeForLocationReturn
impl RefUnwindSafe for GetNodeForLocationReturn
impl Send for GetNodeForLocationReturn
impl Sync for GetNodeForLocationReturn
impl Unpin for GetNodeForLocationReturn
impl UnwindSafe for GetNodeForLocationReturn
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