#enums #map #pattern #macro #options

macro maybe_matches

Provides a macro to map enums to Option

1 unstable release

0.1.0 Jan 11, 2025

#577 in Procedural macros

MIT license

6KB
99 lines

This crate provides a macro to map enums to Option using a pattern specified as argument.

Dependencies

~215–660KB
~16K SLoC