fmt_ext
A simple interface for extending external types with custom implementations of Debug and Display traits.
The example below shows how implement custom debug formatting for slices that additionally print their length.
use ;
use ;
// Create a type that will implement custom debug...
;
// Implement custom debug...
// Attach custom debug implementation to the target type...
// Look! Now we have just call `debug` method on the target type...
All examples are in this directory.
Support of #![no_std]
fmt_ext
supports #![no_std]
mode by default.
License
fmt_ext
is distributed under the terms of the MIT license.