Module utils

Module utils 

Source
Expand description

Utility types needed if you want to implement Format on your own type.

Structsยง

DecimalStr
Simple wrapper type for a &str to make sure its length is less than the maximum for a decimal (8 bytes).
InfinityStr
Simple wrapper type for a &str to make sure its length is less than the maximum for an infinity symbol (128 bytes).
MinusSignStr
Simple wrapper type for a &str to make sure its length is less than the maximum for a minus sign (8 bytes).
NanStr
Simple wrapper type for a &str to make sure its length is less than the maximum for a nan symbol (64 bytes).
PlusSignStr
Simple wrapper type for a &str to make sure its length is less than the maximum for a plus sign (8 bytes).
SeparatorStr
Simple wrapper type for a &str to make sure its length is less than the maximum for a separator (8 bytes).