Struct chromiumoxide_cdp::cdp::browser_protocol::overlay::HighlightConfig [−][src]
pub struct HighlightConfig {}Show fields
pub show_info: Option<bool>, pub show_styles: Option<bool>, pub show_rulers: Option<bool>, pub show_accessibility_info: Option<bool>, pub show_extension_lines: 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 css_grid_color: Option<Rgba>, pub color_format: Option<ColorFormat>, pub grid_highlight_config: Option<GridHighlightConfig>,
Expand description
Configuration data for the highlighting of page elements. HighlightConfig
Fields
show_info: Option<bool>
Whether the node info tooltip should be shown (default: false).
show_styles: Option<bool>
Whether the node styles in the tooltip (default: false).
show_rulers: Option<bool>
Whether the rulers should be shown (default: false).
show_accessibility_info: Option<bool>
Whether the a11y info should be shown (default: true).
show_extension_lines: Option<bool>
Whether the extension lines from node to the rulers should be shown (default: false).
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).
css_grid_color: Option<Rgba>
The grid layout color (default: transparent).
color_format: Option<ColorFormat>
The color format used to format color styles (default: hex).
grid_highlight_config: Option<GridHighlightConfig>
The grid layout highlight configuration (default: all transparent).
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HighlightConfig
impl Send for HighlightConfig
impl Sync for HighlightConfig
impl Unpin for HighlightConfig
impl UnwindSafe for HighlightConfig
Blanket Implementations
Mutably borrows from an owned value. Read more