Crate fmt_tools

Source
Expand description

Provides various tools for creating objects that implement Debug and Display traits.

Macros§

format_args_owned
Like format_args, but takes ownership of its arguments.

Structs§

FmtDebug
Debug or Display a value based on its Debug implementation.
FmtDebugList
Debug or Display a list of Debug objects as a list.
FmtDebugMap
Debug or Display a list of (Debug, Debug) objects as a map.
FmtDebugSet
Debug or Display a list of Debug objects as a set.
FmtDisplay
Debug or Display a value based on its Display implementation.
FmtDisplayList
Debug or Display a list of Display objects as a list.
FmtDisplayMap
Debug or Display a list of (Display, Display) objects as a map.
FmtDisplaySet
Debug or Display a list of Display objects as a set.
FmtFn
Implements Debug and Display based on a function object.
FmtSeparatedDebugList
Debug or Display a list of Debug objects with a separator that implements Debug.
FmtSeparatedDisplayList
Debug or Display a list of Display objects with a separator that implements Display.

Functions§

fmt_debug
Creates an object that Debug or Display a value based on its Debug implementation.
fmt_debug_list
Creates an object that Debug or Display a list of Debug objects as a list.
fmt_debug_map
Creates an object that Debug or Display a list of (Debug, Debug) objects as a map.
fmt_debug_set
Creates an object that Debug or Display a list of Debug objects as a set.
fmt_display
Creates an object that Debug or Display a value based on its Display implementation.
fmt_display_list
Creates an object that Debug or Display a list of Display objects as a list.
fmt_display_map
Creates an object that Debug or Display a list of (Display, Display) objects as a map.
fmt_display_set
Creates an object that Debug or Display a list of Display objects as a set.
fmt_fn
Creates an object that implements Debug and Display based on the provided function object.
fmt_separated_debug_list
Creates an object that Debug or Display a list of Debug objects with specified separator that implements Debug.
fmt_separated_display_list
Creates an object that Debug or Display a list of Display objects with specified separator that implements Display.