Module format

Source
Expand description

Collection of mechanisms for formatting and serialization into string.

Re-exports§

pub use super::super::to_string;
pub use super::super::to_string_with_fallback;

Modules§

as_table
Nice print’s wrapper.
exposed
Exposed namespace of the module.
orphan
Orphan namespace of the module.
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.
print
Nice print.
table
Table interface.
to_string
Flexible ToString augmentation.
to_string_with_fallback
Flexible ToString augmentation.
wrapper
Collection of wrappers.

Structs§

AsTable
Transparent wrapper for table-like structures.
Context
Struct for formatting tables.
MaybeAs
Universal wrapper with transparent option of copy on write reference emphasizing a specific aspect of identity of its internal type.
Styles
Struct to hold options to print data as table.
WithDebug
Marker type for using Debug formatting.
WithDisplay
Marker type for using Display formatting.
WithRef
Marker type for returning reference representing instance instead of allocating new string.
WithWell
Marker type for usign Well formatting.

Traits§

Cells
A trait for iterating over all cells of a row.
TableFormatter
A trait for formatting tables.
TableHeader
Trait returning headers of a table if any.
TableRows
A trait for iterating over all rows of a table.
TableSize
A trait for iterating over all rows of a table.
TableToString
A trait for converting tables to a string representation.
ToStringWith
Trait to convert a type to a string using a specified formatting method.
ToStringWithFallback
Trait to convert a type to a string with a fallback formatting.