Module num_format::utils

source ·
Expand description

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

Structs

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