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
show_info: Option<bool>
Whether the node info tooltip should be shown (default: false).
show_rulers: Option<bool>
Whether the rulers should be shown (default: false).
show_extension_lines: Option<bool>
Whether the extension lines from node to the rulers should be shown (default: false).
display_as_material: Option<bool>
content_color: Option<Rgba>
The content box highlight fill color (default: transparent).
padding_color: Option<Rgba>
The padding highlight fill color (default: transparent).
border_color: Option<Rgba>
The border highlight fill color (default: transparent).
margin_color: Option<Rgba>
The margin highlight fill color (default: transparent).
event_target_color: Option<Rgba>
The event target element highlight fill color (default: transparent).
shape_color: Option<Rgba>
The shape outside fill color (default: transparent).
shape_margin_color: Option<Rgba>
The shape margin fill color (default: transparent).
selector_list: Option<Cow<'a, str>>
Selectors to highlight relevant nodes.
css_grid_color: Option<Rgba>
The grid layout color (default: transparent).
Trait Implementations
impl<'a> Clone for HighlightConfig<'a>
[src]
fn clone(&self) -> HighlightConfig<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for HighlightConfig<'a>
[src]
impl<'a> PartialEq for HighlightConfig<'a>
[src]
fn eq(&self, __arg_0: &HighlightConfig<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HighlightConfig<'a>) -> bool
[src]
This method tests for !=
.