pub(crate) fn table_to_record(node: &TableNode) -> RecordDef
Adapt our table tree into the layout-rs record format.