#enums #type #utiliy

try_as_traits

Traits to ease using enums whose sole purpose is to enumerate a set of types

1 unstable release

0.1.0 Dec 22, 2022

#234 in #type

Download history 6/week @ 2025-06-18 15/week @ 2025-07-02 10/week @ 2025-07-09 5/week @ 2025-07-16 2/week @ 2025-07-23 13/week @ 2025-07-30 17/week @ 2025-08-06 23/week @ 2025-08-13 38/week @ 2025-08-20 24/week @ 2025-08-27 37/week @ 2025-09-03

126 downloads per month
Used in 2 crates

Custom license

3KB

Contains the traits TryAsRef, TryAsMut and TypedContainer, used by the crate try_as to simplfy dealing with enums enumerating types.

See the the crate documentation for more information and documentation on how to use the traits.

No runtime deps