Skip to content

Conversation

@YuniqueUnic
Copy link

feat(enum): Add support for enum variables and update documentation

  • Added usage examples of enum variables in README.md.
  • Created a new example file name_of_enum.rs to demonstrate the use of enum variables.
  • Remove the tag_of.rs file and use the name_of! macro instead of.
  • Implemented support for enum variables in lib.rs.

unic added 2 commits July 21, 2025 11:41
- Introduce the `tag_of!` macro to obtain string representations of enum variants.
- Update `README.md` with usage examples of the `tag_of!` macro.
- Create a new `examples/tag_of.rs` file presenting comprehensive usage examples of the `tag_of!` macro.
- Update the `tests` module by adding unit tests for the `tag_of!` macro.
- Added usage examples of enum variables in README.md.
- Created a new example file name_of_enum.rs to demonstrate the use of enum variables.
- Updated the tag_of.rs file to use the name_of! macro.
- Implemented support for enum variables in lib.rs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant