Skip to main content

table_box

Function table_box 

Source
pub fn table_box(
    label: &str,
    value: Option<&str>,
    badge: Option<&str>,
    table: &NodeTable,
) -> NodeBox
Expand description

The box a node with a NodeTable needs: node_box’s label, value and badge, then the header row (when there is one) and a row per table row, as draw fills it from DrawNode::table.