Macro tabled::col

source ·
macro_rules! col {
    ( $($table:expr), * $(,)? ) => { ... };
    ( $table:expr; $N:expr) => { ... };
}
Available on crate feature macros only.
Expand description

Creates a Table with Display arguments nested within.

The macros allows several tables to be displayed vertically.

Companion to row!.

Examples

let new_table = col![table1, table2];
let new_table_of_clones = col![table1; 3];
let columns_and_rows = col![
    table1,
    row![table2, table3]
];