maybe_macro 1.0.0

The maybe! macro for creating options.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 2.66 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.08 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • withoutboats

The maybe_macro crate exports one macro, the maybe! macro.

The maybe! macro makes it neat to construct an option from a value in one line of code if it meets a certain condition. See the macro itself for more documentation about how to use it.