Expand description
This crate exports 2 traits which should be implemented for every type for which its field or variant is not skipped.
It also exports a macro to use the Debug and Display traits to generate a PyDebug and PyDisplay implementation.
Macros§
- pydebug_
pydisplay - Use this trait to automatically derive PyDebug and PyDisplay for your type. It uses the Debug and Display traits internally. Because this usage can expose Rust semantics, types, or otherwise look foreign, this should only be used for types which are simple enough to not be distinctly Rust-y.
Statics§
- ELLIPSIS_
CHAR_ N - Number of characters to display for each implementation in this crate, defaults to 100. May be a few chars above or below.