pub struct AdvancedTableOptions {
pub border_style: BorderStyle,
pub cell_padding: CellPadding,
pub row_height: f64,
pub font: Font,
pub font_size: f64,
pub text_color: Color,
pub alternating_rows: Option<AlternatingRowColors>,
pub background_color: Option<Color>,
pub max_height: Option<f64>,
pub cell_spacing: f64,
pub draw_outer_border: bool,
}Expand description
Advanced options for table rendering
Fields§
§border_style: BorderStyleDefault border style
cell_padding: CellPaddingDefault cell padding
row_height: f64Default row height (0 for auto)
font: FontDefault font
font_size: f64Default font size
text_color: ColorDefault text color
alternating_rows: Option<AlternatingRowColors>Alternating row colors
background_color: Option<Color>Table-wide background color
max_height: Option<f64>Maximum table height before breaking
cell_spacing: f64Spacing between cells
draw_outer_border: boolWhether to draw outer border
Trait Implementations§
Source§impl Clone for AdvancedTableOptions
impl Clone for AdvancedTableOptions
Source§fn clone(&self) -> AdvancedTableOptions
fn clone(&self) -> AdvancedTableOptions
Returns a duplicate 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 Debug for AdvancedTableOptions
impl Debug for AdvancedTableOptions
Auto Trait Implementations§
impl Freeze for AdvancedTableOptions
impl RefUnwindSafe for AdvancedTableOptions
impl Send for AdvancedTableOptions
impl Sync for AdvancedTableOptions
impl Unpin for AdvancedTableOptions
impl UnwindSafe for AdvancedTableOptions
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