render_table_with_opts_styled

Function render_table_with_opts_styled 

Source
pub fn render_table_with_opts_styled(
    headers: &[&str],
    rows: &[Vec<&str>],
    mode: TableMode,
    style: TableStyle,
    alignments: Option<&[Align]>,
    trunc_modes: Option<&[TruncateMode]>,
    zebra: bool,
    row_separators: bool,
    header_fg: Option<Color>,
    zebra_bg: Option<Color>,
) -> String
Expand description

Styled variant: allow optional header foreground color and zebra row background color.