pub struct TableConfig {
pub show_lines: bool,
pub leading: usize,
pub pad_edge: bool,
pub padding: (usize, usize),
pub collapse_padding: bool,
pub expand: bool,
pub box_type: Option<Box>,
pub row_styles: Vec<Style>,
pub border_style: Style,
}Expand description
Table configuration for option/command tables.
Fields§
§show_lines: bool§leading: usize§pad_edge: bool§padding: (usize, usize)§collapse_padding: bool§expand: bool§box_type: Option<Box>§row_styles: Vec<Style>§border_style: StyleTrait Implementations§
Source§impl Clone for TableConfig
impl Clone for TableConfig
Source§fn clone(&self) -> TableConfig
fn clone(&self) -> TableConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableConfig
impl Debug for TableConfig
Auto Trait Implementations§
impl Freeze for TableConfig
impl RefUnwindSafe for TableConfig
impl Send for TableConfig
impl Sync for TableConfig
impl Unpin for TableConfig
impl UnsafeUnpin for TableConfig
impl UnwindSafe for TableConfig
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