pub struct HighlightConfigBuilder { /* private fields */ }
Implementations§
Source§impl HighlightConfigBuilder
impl HighlightConfigBuilder
pub fn show_info(self, show_info: impl Into<bool>) -> HighlightConfigBuilder
pub fn show_styles(self, show_styles: impl Into<bool>) -> HighlightConfigBuilder
pub fn show_rulers(self, show_rulers: impl Into<bool>) -> HighlightConfigBuilder
pub fn show_accessibility_info( self, show_accessibility_info: impl Into<bool>, ) -> HighlightConfigBuilder
pub fn show_extension_lines( self, show_extension_lines: impl Into<bool>, ) -> HighlightConfigBuilder
pub fn content_color( self, content_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn padding_color( self, padding_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn border_color( self, border_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn margin_color( self, margin_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn event_target_color( self, event_target_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn shape_color(self, shape_color: impl Into<Rgba>) -> HighlightConfigBuilder
pub fn shape_margin_color( self, shape_margin_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn css_grid_color( self, css_grid_color: impl Into<Rgba>, ) -> HighlightConfigBuilder
pub fn color_format( self, color_format: impl Into<ColorFormat>, ) -> HighlightConfigBuilder
pub fn grid_highlight_config( self, grid_highlight_config: impl Into<GridHighlightConfig>, ) -> HighlightConfigBuilder
pub fn flex_container_highlight_config( self, flex_container_highlight_config: impl Into<FlexContainerHighlightConfig>, ) -> HighlightConfigBuilder
pub fn flex_item_highlight_config( self, flex_item_highlight_config: impl Into<FlexItemHighlightConfig>, ) -> HighlightConfigBuilder
pub fn contrast_algorithm( self, contrast_algorithm: impl Into<ContrastAlgorithm>, ) -> HighlightConfigBuilder
pub fn container_query_container_highlight_config( self, container_query_container_highlight_config: impl Into<ContainerQueryContainerHighlightConfig>, ) -> HighlightConfigBuilder
pub fn build(self) -> HighlightConfig
Trait Implementations§
Source§impl Clone for HighlightConfigBuilder
impl Clone for HighlightConfigBuilder
Source§fn clone(&self) -> HighlightConfigBuilder
fn clone(&self) -> HighlightConfigBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for HighlightConfigBuilder
impl Default for HighlightConfigBuilder
Source§fn default() -> HighlightConfigBuilder
fn default() -> HighlightConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HighlightConfigBuilder
impl RefUnwindSafe for HighlightConfigBuilder
impl Send for HighlightConfigBuilder
impl Sync for HighlightConfigBuilder
impl Unpin for HighlightConfigBuilder
impl UnwindSafe for HighlightConfigBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more