Module str

Module str 

Source
Expand description

String helpers.

Structs§

TinyStr
A short string packed into a big-endian NonZero integer.

Traits§

TinyStrInt
Helper trait for integer types that can be used as storage for a TinyStr.
TinyStrLen
Helper trait to map between length N and the smallest TinyStrInt type that can store it.

Type Aliases§

TinyStr2
2 byte TinyStr using a u16.
TinyStr4
4 byte TinyStr using a u32.
TinyStr8
8 byte TinyStr using a u64.