pub struct InspectNodeRequestedEvent { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Fired when the node should be inspected. This happens after call to setInspectMode or when
user manually inspects an element.
Implementations§
Source§impl InspectNodeRequestedEvent
impl InspectNodeRequestedEvent
pub fn new(backend_node_id: BackendNodeId) -> Self
Sourcepub fn backend_node_id(&self) -> &BackendNodeId
pub fn backend_node_id(&self) -> &BackendNodeId
Id of the node to inspect.
Trait Implementations§
Source§impl Clone for InspectNodeRequestedEvent
impl Clone for InspectNodeRequestedEvent
Source§fn clone(&self) -> InspectNodeRequestedEvent
fn clone(&self) -> InspectNodeRequestedEvent
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 InspectNodeRequestedEvent
impl Debug for InspectNodeRequestedEvent
Source§impl Deref for InspectNodeRequestedEvent
impl Deref for InspectNodeRequestedEvent
Source§impl<'de> Deserialize<'de> for InspectNodeRequestedEvent
impl<'de> Deserialize<'de> for InspectNodeRequestedEvent
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 InspectNodeRequestedEvent
impl RefUnwindSafe for InspectNodeRequestedEvent
impl Send for InspectNodeRequestedEvent
impl Sync for InspectNodeRequestedEvent
impl Unpin for InspectNodeRequestedEvent
impl UnwindSafe for InspectNodeRequestedEvent
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