Module util

Source
Expand description

common public utils

Macros§

xformat
Creates a CompactString using interpolation of runtime expressions.

Structs§

XString
A CompactString is a compact string type that can be used almost anywhere a String or str can be used.

Traits§

CompactStringExt
A trait that provides convience methods for creating a CompactString from a collection of items. It is implemented for all types that can be converted into an iterator, and that iterator yields types that can be converted into a str.
ToCompactString
A trait for converting a value to a CompactString.

Functions§

hashmap
Construct a rustc_hash::FxHashMap.

Type Aliases§

HashMap
Type alias for a hashmap using the fx hash algorithm.
Hasher