Struct chrome_remote_interface_model::overlay::HighlightConfig[][src]

pub struct HighlightConfig { /* fields omitted */ }
This is supported on crate features experimental and Overlay and DOM and Page and Runtime only.

Configuration data for the highlighting of page elements.

Implementations

impl HighlightConfig[src]

pub fn builder() -> HighlightConfigBuilder[src]

pub fn show_info(&self) -> Option<&bool>[src]

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

pub fn show_styles(&self) -> Option<&bool>[src]

Whether the node styles in the tooltip (default: false).

pub fn show_rulers(&self) -> Option<&bool>[src]

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

pub fn show_accessibility_info(&self) -> Option<&bool>[src]

Whether the a11y info should be shown (default: true).

pub fn show_extension_lines(&self) -> Option<&bool>[src]

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

pub fn content_color(&self) -> Option<&Rgba>[src]

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

pub fn padding_color(&self) -> Option<&Rgba>[src]

The padding highlight fill color (default: transparent).

pub fn border_color(&self) -> Option<&Rgba>[src]

The border highlight fill color (default: transparent).

pub fn margin_color(&self) -> Option<&Rgba>[src]

The margin highlight fill color (default: transparent).

pub fn event_target_color(&self) -> Option<&Rgba>[src]

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

pub fn shape_color(&self) -> Option<&Rgba>[src]

The shape outside fill color (default: transparent).

pub fn shape_margin_color(&self) -> Option<&Rgba>[src]

The shape margin fill color (default: transparent).

pub fn css_grid_color(&self) -> Option<&Rgba>[src]

The grid layout color (default: transparent).

pub fn color_format(&self) -> Option<&ColorFormat>[src]

The color format used to format color styles (default: hex).

pub fn grid_highlight_config(&self) -> Option<&GridHighlightConfig>[src]

The grid layout highlight configuration (default: all transparent).

pub fn flex_container_highlight_config(
    &self
) -> Option<&FlexContainerHighlightConfig>
[src]

The flex container highlight configuration (default: all transparent).

Trait Implementations

impl Clone for HighlightConfig[src]

impl Debug for HighlightConfig[src]

impl<'de> Deserialize<'de> for HighlightConfig[src]

impl Serialize for HighlightConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.