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
TryAsMutfor a type enumerating enum. - TryAs
Ref - Derive trait
TryAsReffor a type enumerating enum. - TryInto
- Derive
TryInto<T>for a type enumerating enum. - Typed
Container - Derive
TypedContainerfor a type enumerating enum.