add_line

Macro add_line 

Source
macro_rules! add_line {
    ($grid:expr, $($content:expr),*) => { ... };
}
Expand description

add_line defines a crate::GridLine with crate::GridItems attached.

The first element provided is the grid; and the rest are strings which correspond to headers set to the grid, in order of appearance. A line must be equal to the number of headers, otherwise this macro will yield anyhow::Error.

Please see the crate::grid! example for more.