Struct cdp::overlay::HighlightConfig [] [src]

pub struct HighlightConfig<'a> {
    pub show_info: Option<bool>,
    pub show_rulers: Option<bool>,
    pub show_extension_lines: Option<bool>,
    pub display_as_material: Option<bool>,
    pub content_color: Option<Rgba>,
    pub padding_color: Option<Rgba>,
    pub border_color: Option<Rgba>,
    pub margin_color: Option<Rgba>,
    pub event_target_color: Option<Rgba>,
    pub shape_color: Option<Rgba>,
    pub shape_margin_color: Option<Rgba>,
    pub selector_list: Option<Cow<'a, str>>,
    pub css_grid_color: Option<Rgba>,
}

[Experimental] Configuration data for the highlighting of page elements.

Fields

Whether the node info tooltip should be shown (default: false).

Whether the rulers should be shown (default: false).

Whether the extension lines from node to the rulers should be shown (default: false).

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

The padding highlight fill color (default: transparent).

The border highlight fill color (default: transparent).

The margin highlight fill color (default: transparent).

The event target element highlight fill color (default: transparent).

The shape outside fill color (default: transparent).

The shape margin fill color (default: transparent).

Selectors to highlight relevant nodes.

The grid layout color (default: transparent).

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for HighlightConfig<'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 !=.