pub struct HighlightSourceOrderParams<'a> { /* private fields */ }Expand description
Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Implementations§
Source§impl<'a> HighlightSourceOrderParams<'a>
impl<'a> HighlightSourceOrderParams<'a>
Sourcepub fn builder(
source_order_config: SourceOrderConfig,
) -> HighlightSourceOrderParamsBuilder<'a>
pub fn builder( source_order_config: SourceOrderConfig, ) -> HighlightSourceOrderParamsBuilder<'a>
Creates a builder for this type with the required parameters:
source_order_config: A descriptor for the appearance of the overlay drawing.
Sourcepub fn source_order_config(&self) -> &SourceOrderConfig
pub fn source_order_config(&self) -> &SourceOrderConfig
A descriptor for the appearance of the overlay drawing.
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<'a>>
pub fn object_id(&self) -> Option<&RemoteObjectId<'a>>
JavaScript object id of the node to be highlighted.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for HighlightSourceOrderParams<'a>
impl<'a> CdpCommand<'a> for HighlightSourceOrderParams<'a>
Source§impl<'a> Clone for HighlightSourceOrderParams<'a>
impl<'a> Clone for HighlightSourceOrderParams<'a>
Source§fn clone(&self) -> HighlightSourceOrderParams<'a>
fn clone(&self) -> HighlightSourceOrderParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for HighlightSourceOrderParams<'a>
impl<'a> Debug for HighlightSourceOrderParams<'a>
Source§impl<'a> Default for HighlightSourceOrderParams<'a>
impl<'a> Default for HighlightSourceOrderParams<'a>
Source§fn default() -> HighlightSourceOrderParams<'a>
fn default() -> HighlightSourceOrderParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for HighlightSourceOrderParams<'a>
impl<'de, 'a> Deserialize<'de> for HighlightSourceOrderParams<'a>
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<'a> Freeze for HighlightSourceOrderParams<'a>
impl<'a> RefUnwindSafe for HighlightSourceOrderParams<'a>
impl<'a> Send for HighlightSourceOrderParams<'a>
impl<'a> Sync for HighlightSourceOrderParams<'a>
impl<'a> Unpin for HighlightSourceOrderParams<'a>
impl<'a> UnsafeUnpin for HighlightSourceOrderParams<'a>
impl<'a> UnwindSafe for HighlightSourceOrderParams<'a>
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