pub struct HighlightNodeCommandBuilder { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Implementations§
Source§impl HighlightNodeCommandBuilder
impl HighlightNodeCommandBuilder
Sourcepub fn highlight_config(&mut self, v: HighlightConfig) -> &mut Self
pub fn highlight_config(&mut self, v: HighlightConfig) -> &mut Self
A descriptor for the highlight appearance.
Sourcepub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self
pub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self
Identifier of the backend node to highlight.
Sourcepub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self
pub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self
JavaScript object id of the node to be highlighted.
pub fn build(&mut self) -> Result<HighlightNodeCommand, &'static str>
Trait Implementations§
Source§impl Clone for HighlightNodeCommandBuilder
impl Clone for HighlightNodeCommandBuilder
Source§fn clone(&self) -> HighlightNodeCommandBuilder
fn clone(&self) -> HighlightNodeCommandBuilder
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 HighlightNodeCommandBuilder
impl Debug for HighlightNodeCommandBuilder
Auto Trait Implementations§
impl Freeze for HighlightNodeCommandBuilder
impl RefUnwindSafe for HighlightNodeCommandBuilder
impl Send for HighlightNodeCommandBuilder
impl Sync for HighlightNodeCommandBuilder
impl Unpin for HighlightNodeCommandBuilder
impl UnwindSafe for HighlightNodeCommandBuilder
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