Expand description
strfmt crate
Macros§
- strfmt
- Format a given string with the passed variables. This macro is creating an single used Hashmap, for performance optimizations it might be more efficient to reuse an existing one.
- strfmt_
builder
Structs§
Enums§
Traits§
- Display
Str - This trait is effectively an re-implementation for std::fmt::Display It is used to disguise between the value types that should be formatted
- Format
- This trait is a shortcut for [strfmt] for an example see Format::format
Functions§
- strfmt
- Rust-style format a string given a
HashMap
of the variables. - strfmt_
display Deprecated - Rust-style format a string given a
HashMap
of the variables. see [strfmt] for details - strfmt_
map - UNSTABLE: the Formatter object is still considered unstable Do not use this function if you aren’t willing to have changes forced on you!