pub struct GridHighlightConfigBuilder { /* private fields */ }
Implementations§
Source§impl GridHighlightConfigBuilder
impl GridHighlightConfigBuilder
pub fn show_grid_extension_lines( self, show_grid_extension_lines: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn show_positive_line_numbers( self, show_positive_line_numbers: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn show_negative_line_numbers( self, show_negative_line_numbers: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn show_area_names( self, show_area_names: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn show_line_names( self, show_line_names: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn show_track_sizes( self, show_track_sizes: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn grid_border_color( self, grid_border_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn row_line_color( self, row_line_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn column_line_color( self, column_line_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn grid_border_dash( self, grid_border_dash: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn row_line_dash( self, row_line_dash: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn column_line_dash( self, column_line_dash: impl Into<bool>, ) -> GridHighlightConfigBuilder
pub fn row_gap_color( self, row_gap_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn row_hatch_color( self, row_hatch_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn column_gap_color( self, column_gap_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn column_hatch_color( self, column_hatch_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn area_border_color( self, area_border_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn grid_background_color( self, grid_background_color: impl Into<Rgba>, ) -> GridHighlightConfigBuilder
pub fn build(self) -> GridHighlightConfig
Trait Implementations§
Source§impl Clone for GridHighlightConfigBuilder
impl Clone for GridHighlightConfigBuilder
Source§fn clone(&self) -> GridHighlightConfigBuilder
fn clone(&self) -> GridHighlightConfigBuilder
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 GridHighlightConfigBuilder
impl Default for GridHighlightConfigBuilder
Source§fn default() -> GridHighlightConfigBuilder
fn default() -> GridHighlightConfigBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GridHighlightConfigBuilder
impl RefUnwindSafe for GridHighlightConfigBuilder
impl Send for GridHighlightConfigBuilder
impl Sync for GridHighlightConfigBuilder
impl Unpin for GridHighlightConfigBuilder
impl UnwindSafe for GridHighlightConfigBuilder
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