pub trait ToTableString {
// Required method
fn to_table_string_custom(
&self,
columns: usize,
indent: usize,
brackets: bool,
newlines: bool,
) -> String;
// Provided method
fn to_table_string(&self) -> String { ... }
}Expand description
Trait for printing values in a human-readable table format
Required Methods§
Provided Methods§
Sourcefn to_table_string(&self) -> String
fn to_table_string(&self) -> String
Format with default layout (32 columns, 4-space indent, brackets, newlines).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".