pub struct HighlightNodeCommand { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Expand description
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Implementations§
Source§impl HighlightNodeCommand
impl HighlightNodeCommand
pub fn builder() -> HighlightNodeCommandBuilder
Sourcepub fn highlight_config(&self) -> &HighlightConfig
pub fn highlight_config(&self) -> &HighlightConfig
A descriptor for the highlight appearance.
Sourcepub fn backend_node_id(&self) -> Option<&BackendNodeId>
pub fn backend_node_id(&self) -> Option<&BackendNodeId>
Identifier of the backend node to highlight.
Sourcepub fn object_id(&self) -> Option<&RemoteObjectId>
pub fn object_id(&self) -> Option<&RemoteObjectId>
JavaScript object id of the node to be highlighted.
Trait Implementations§
Source§impl Clone for HighlightNodeCommand
impl Clone for HighlightNodeCommand
Source§fn clone(&self) -> HighlightNodeCommand
fn clone(&self) -> HighlightNodeCommand
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 Command for HighlightNodeCommand
impl Command for HighlightNodeCommand
Source§impl Debug for HighlightNodeCommand
impl Debug for HighlightNodeCommand
Source§impl<'de> Deserialize<'de> for HighlightNodeCommand
impl<'de> Deserialize<'de> for HighlightNodeCommand
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 HighlightNodeCommand
impl RefUnwindSafe for HighlightNodeCommand
impl Send for HighlightNodeCommand
impl Sync for HighlightNodeCommand
impl Unpin for HighlightNodeCommand
impl UnwindSafe for HighlightNodeCommand
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