pub struct GridHighlightConfigBuilder { /* private fields */ }Expand description
Builder for GridHighlightConfig.
Implementations§
Source§impl GridHighlightConfigBuilder
impl GridHighlightConfigBuilder
Sourcepub fn show_grid_extension_lines<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn show_grid_extension_lines<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Whether the extension lines from grid cells to the rulers should be shown (default: false).
Sourcepub fn show_positive_line_numbers<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn show_positive_line_numbers<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Show Positive line number labels (default: false).
Sourcepub fn show_negative_line_numbers<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn show_negative_line_numbers<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Show Negative line number labels (default: false).
Sourcepub fn show_area_names<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn show_area_names<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Show area name labels (default: false).
Sourcepub fn show_line_names<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn show_line_names<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Show line name labels (default: false).
Sourcepub fn show_track_sizes<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn show_track_sizes<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Show track size labels (default: false).
Sourcepub fn grid_border_color<VALUE: Into<Rgba>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn grid_border_color<VALUE: Into<Rgba>>( &mut self, value: VALUE, ) -> &mut Self
The grid container border highlight color (default: transparent).
Sourcepub fn cell_border_color<VALUE: Into<Rgba>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn cell_border_color<VALUE: Into<Rgba>>( &mut self, value: VALUE, ) -> &mut Self
The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.
Sourcepub fn row_line_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn row_line_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The row line color (default: transparent).
Sourcepub fn column_line_color<VALUE: Into<Rgba>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn column_line_color<VALUE: Into<Rgba>>( &mut self, value: VALUE, ) -> &mut Self
The column line color (default: transparent).
Sourcepub fn grid_border_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn grid_border_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether the grid border is dashed (default: false).
Sourcepub fn cell_border_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn cell_border_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.
Sourcepub fn row_line_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn row_line_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether row lines are dashed (default: false).
Sourcepub fn column_line_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn column_line_dash<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether column lines are dashed (default: false).
Sourcepub fn row_gap_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn row_gap_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The row gap highlight fill color (default: transparent).
Sourcepub fn row_hatch_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn row_hatch_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The row gap hatching fill color (default: transparent).
Sourcepub fn column_gap_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
pub fn column_gap_color<VALUE: Into<Rgba>>(&mut self, value: VALUE) -> &mut Self
The column gap highlight fill color (default: transparent).
Sourcepub fn column_hatch_color<VALUE: Into<Rgba>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn column_hatch_color<VALUE: Into<Rgba>>( &mut self, value: VALUE, ) -> &mut Self
The column gap hatching fill color (default: transparent).
Sourcepub fn area_border_color<VALUE: Into<Rgba>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn area_border_color<VALUE: Into<Rgba>>( &mut self, value: VALUE, ) -> &mut Self
The named grid areas border color (Default: transparent).
Sourcepub fn grid_background_color<VALUE: Into<Rgba>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn grid_background_color<VALUE: Into<Rgba>>( &mut self, value: VALUE, ) -> &mut Self
The grid container background color (Default: transparent).
Sourcepub fn build(
&self,
) -> Result<GridHighlightConfig, GridHighlightConfigBuilderError>
pub fn build( &self, ) -> Result<GridHighlightConfig, GridHighlightConfigBuilderError>
Trait Implementations§
Source§impl Clone for GridHighlightConfigBuilder
impl Clone for GridHighlightConfigBuilder
Source§fn clone(&self) -> GridHighlightConfigBuilder
fn clone(&self) -> GridHighlightConfigBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more