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

Derive From<T> implementations for a type enumerating enum.
Derive trait TryAsMut for a type enumerating enum.
Derive trait TryAsRef for a type enumerating enum.
Derive TryInto<T> for a type enumerating enum.
Derive TypedContainer for a type enumerating enum.