Struct cdp::overlay::SetInspectModeCommand [] [src]

pub struct SetInspectModeCommand<'a> {
    pub mode: InspectMode,
    pub highlight_config: Option<HighlightConfig<'a>>,
}

[Experimental] Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.

Command Overlay.setInspectMode

Domain Module: cdp::overlay
Command Struct: cdp::overlay::SetInspectModeCommand
Response Struct: cdp::overlay::SetInspectModeResponse

Fields

Set an inspection mode.

A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false.

Trait Implementations

impl<'a> Clone for SetInspectModeCommand<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for SetInspectModeCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for SetInspectModeCommand<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for SetInspectModeCommand<'a>
[src]

COMMAND_NAME: &'static str = "Overlay.setInspectMode"

impl<'a> SerializeCdpCommand for SetInspectModeCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for SetInspectModeCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for SetInspectModeCommand<'a>
[src]