#type #enums #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

#666 in #enums

Download history 10/week @ 2024-11-13 8/week @ 2024-11-20 25/week @ 2024-11-27 40/week @ 2024-12-04 35/week @ 2024-12-11 11/week @ 2024-12-18 16/week @ 2025-01-08 21/week @ 2025-01-15 17/week @ 2025-01-22 15/week @ 2025-01-29 29/week @ 2025-02-05 18/week @ 2025-02-12 16/week @ 2025-02-19 47/week @ 2025-02-26

112 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.


lib.rs:

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