Expand description
A set of macros to ease using enums whose sole purpose is to enumerate a set of types, used by the crate try_as.
See the the crate documentation for more information and documentation on how to use the macros.
Derive Macrosยง
- From
- Derive
From<T>
implementations for a type enumerating enum. - TryAs
Mut - Derive trait
TryAsMut
for a type enumerating enum. - TryAs
Ref - Derive trait
TryAsRef
for a type enumerating enum. - TryInto
- Derive
TryInto<T>
for a type enumerating enum. - Typed
Container - Derive
TypedContainer
for a type enumerating enum.