Safe casting for newtype enums and their variants.
The enumcapsulate crate exports the following traits:
The enumcapsulate crate exports the following corresponding derive macros, if the "derive" feature is enabled (which is the default):
EncapsulateFromTryIntoFromVariantIntoVariantAsVariantAsVariantMutAsVariantRefVariantDowncastVariantDiscriminant
Find more information on above derive macros in enumcapsulate-macros's own README file.
Please refer to the documentation on docs.rs.
Please read CONTRIBUTING.md for details on our code of conduct,
and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MPL-2.0 – see the LICENSE.md file for details.
