docs.rs failed to build tabled-0.21.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
tabled-0.20.0
tabled
An easy to use library for pretty printing tables of Rust structs and enums.
There are more examples and you can find in this README.
Usage
To print a list of structs or enums as a table your types should implement the the Tabled trait or derive it with a #[derive(Tabled)] macro.
Most of the default types implement the trait out of the box.
Most of a table configuration can be found in tabled::settings module.
use ;
use assert_table;
let languages = vec!;
let table = new;
assert_table!;
The same example but we are building a table step by step.
use ;
use assert_table;
let mut builder = new;
builder.push_record;
builder.push_record;
builder.push_record;
let mut table = builder.build;
table.with;
assert_table!;