use nuthatch; fn main() { let widths = [4, 4, 4, 4]; let columns = 6.0; let start = 99.0; let height = 2.0; let result = nuthatch_layout(widths, columns, start, height); if len(result) == 0 { println!("invalid"); return; } let mut i = 0; while i < len(result) { println!(at(result, i)); i += 1; } }