Crate try_as_macros

Source
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.
TryAsMut
Derive trait TryAsMut for a type enumerating enum.
TryAsRef
Derive trait TryAsRef for a type enumerating enum.
TryInto
Derive TryInto<T> for a type enumerating enum.
TypedContainer
Derive TypedContainer for a type enumerating enum.