Struct chrome_remote_interface_model::overlay::HighlightConfigBuilder [−][src]
experimental
and Overlay
and DOM
and Page
and Runtime
only.Implementations
impl HighlightConfigBuilder
[src]
pub fn show_info(&mut self, v: bool) -> &mut Self
[src]
Whether the node info tooltip should be shown (default: false).
pub fn show_styles(&mut self, v: bool) -> &mut Self
[src]
Whether the node styles in the tooltip (default: false).
pub fn show_rulers(&mut self, v: bool) -> &mut Self
[src]
Whether the rulers should be shown (default: false).
pub fn show_accessibility_info(&mut self, v: bool) -> &mut Self
[src]
Whether the a11y info should be shown (default: true).
pub fn show_extension_lines(&mut self, v: bool) -> &mut Self
[src]
Whether the extension lines from node to the rulers should be shown (default: false).
pub fn content_color(&mut self, v: Rgba) -> &mut Self
[src]
The content box highlight fill color (default: transparent).
pub fn padding_color(&mut self, v: Rgba) -> &mut Self
[src]
The padding highlight fill color (default: transparent).
pub fn border_color(&mut self, v: Rgba) -> &mut Self
[src]
The border highlight fill color (default: transparent).
pub fn margin_color(&mut self, v: Rgba) -> &mut Self
[src]
The margin highlight fill color (default: transparent).
pub fn event_target_color(&mut self, v: Rgba) -> &mut Self
[src]
The event target element highlight fill color (default: transparent).
pub fn shape_color(&mut self, v: Rgba) -> &mut Self
[src]
The shape outside fill color (default: transparent).
pub fn shape_margin_color(&mut self, v: Rgba) -> &mut Self
[src]
The shape margin fill color (default: transparent).
pub fn css_grid_color(&mut self, v: Rgba) -> &mut Self
[src]
The grid layout color (default: transparent).
pub fn color_format(&mut self, v: ColorFormat) -> &mut Self
[src]
The color format used to format color styles (default: hex).
pub fn grid_highlight_config(&mut self, v: GridHighlightConfig) -> &mut Self
[src]
The grid layout highlight configuration (default: all transparent).
pub fn flex_container_highlight_config(
&mut self,
v: FlexContainerHighlightConfig
) -> &mut Self
[src]
&mut self,
v: FlexContainerHighlightConfig
) -> &mut Self
The flex container highlight configuration (default: all transparent).
pub fn build(&mut self) -> Result<HighlightConfig, &'static str>
[src]
Trait Implementations
impl Clone for HighlightConfigBuilder
[src]
fn clone(&self) -> HighlightConfigBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HighlightConfigBuilder
[src]
impl Default for HighlightConfigBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for HighlightConfigBuilder
[src]
impl Send for HighlightConfigBuilder
[src]
impl Sync for HighlightConfigBuilder
[src]
impl Unpin for HighlightConfigBuilder
[src]
impl UnwindSafe for HighlightConfigBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,