An open API service indexing awesome lists of open source software.

https://github.com/speelbarrow/enum-from-functions.rs

A procedural macro that will create an enum with associated functions that each have a corresponding variant.
https://github.com/speelbarrow/enum-from-functions.rs

macro macros meta metaprogramming proc-macro procedural rs rust rust-lang

Last synced: about 1 year ago
JSON representation

A procedural macro that will create an enum with associated functions that each have a corresponding variant.

Awesome Lists containing this project

README

          

# `enum-from-functions.rs` [![CI/CD](https://github.com/speelbarrow/enum-from-functions.rs/actions/workflows/cicd.yml/badge.svg)](https://github.com/speelbarrow/enum-from-functions.rs/actions/workflows/cicd.yml) [![Crates.io](https://img.shields.io/crates/v/enum-from-functions.svg)](https://crates.io/crates/enum-from-functions)

**A procedural macro that will create an enum with associated functions that each have a corresponding variant.**

Documentation can be found inline or on [docs.rs](https://docs.rs/enum-from-functions/latest/enum_from_functions/).