Struct cdp::overlay::HighlightRectCommand [] [src]

pub struct HighlightRectCommand {
    pub x: i32,
    pub y: i32,
    pub width: i32,
    pub height: i32,
    pub color: Option<Rgba>,
    pub outline_color: Option<Rgba>,
}

[Experimental] Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.

Command Overlay.highlightRect

Domain Module: cdp::overlay
Command Struct: cdp::overlay::HighlightRectCommand
Response Struct: cdp::overlay::HighlightRectResponse

Fields

X coordinate

Y coordinate

Rectangle width

Rectangle height

The highlight fill color (default: transparent).

The highlight outline color (default: transparent).

Trait Implementations

impl Clone for HighlightRectCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for HighlightRectCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for HighlightRectCommand
[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 CdpCommand for HighlightRectCommand
[src]

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

impl SerializeCdpCommand for HighlightRectCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for HighlightRectCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for HighlightRectCommand
[src]