phsym / prettytable-rs

A rust library to print aligned and formatted tables
https://crates.io/crates/prettytable-rs
BSD 3-Clause "New" or "Revised" License
939 stars 74 forks source link

Display Train over Table Object #158

Open MrDataPsycho opened 1 year ago

MrDataPsycho commented 1 year ago

Is there any reason to not to have display train in the Table object so that it can be use used using println!("?", Table) macro. This feature will generalize the API I guess so that someone do not need to use special fucntion table.printstd() to print the table instead it can be used with println! macro.