macro_const 0.1.0

A macro for creating corresponding macro definitions for constants which evaluate to the same values.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 4.15 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 481.92 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Cassy343/macro_const
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Cassy343

macro_const

Creates corresponding macro definitions for constants, allowing the value of the constants to be used in the context of other macros.

This utility is mostly just for convenience, and for those who did not wish to write the macro themself.

Usage

This crate is available on crates.io. Use the most recent version of this crate when adding it to your dependencies as shown below.

[dependencies]
macro_const = "0.1.0"

View the documentation here for examples.