Struct cdp::overlay::HighlightFrameCommand [] [src]

pub struct HighlightFrameCommand<'a> {
    pub frame_id: FrameId<'a>,
    pub content_color: Option<Rgba>,
    pub content_outline_color: Option<Rgba>,
}

[Experimental] Highlights owner element of the frame with given id.

Command Overlay.highlightFrame

Domain Module: cdp::overlay
Command Struct: cdp::overlay::HighlightFrameCommand
Response Struct: cdp::overlay::HighlightFrameResponse

Fields

Identifier of the frame to highlight.

The content box highlight fill color (default: transparent).

The content box highlight outline color (default: transparent).

Trait Implementations

impl<'a> Clone for HighlightFrameCommand<'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 HighlightFrameCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for HighlightFrameCommand<'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 HighlightFrameCommand<'a>
[src]

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

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

[src]

[src]

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

[src]

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