Module rubedo::sugar

source ·
Expand description

This module provides macros that add syntactic sugar for common operations.

Note that some macros are implemented as proc macros, which can be found in the rubedo-macros crate.

Macros§

  • Builds an IP address from a range of input types.
  • Converts a str string literal to an owned String.
  • Allows shorthand for referring to multiple variants of the same enum.
  • Allows shorthand for referring to multiple variants of the same enum.
  • Allows shorthand for referring to multiple variants of the same enum.
  • Allows shorthand for referring to multiple variants of the same enum.