#enum #variant #try-let

enum_extract

Helper macros for extracting single enum variants of an enum

2 releases

Uses old Rust 2015

0.1.1 Jul 24, 2017
0.1.0 Feb 17, 2017

#13 in #variant

Download history 122/week @ 2021-08-11 52/week @ 2021-08-18 36/week @ 2021-08-25 43/week @ 2021-09-01 58/week @ 2021-09-08 38/week @ 2021-09-15 86/week @ 2021-09-22 24/week @ 2021-09-29 142/week @ 2021-10-06 190/week @ 2021-10-13 131/week @ 2021-10-20 121/week @ 2021-10-27 52/week @ 2021-11-03 59/week @ 2021-11-10 27/week @ 2021-11-17 55/week @ 2021-11-24

216 downloads per month
Used in 2 crates

MIT license

10KB
130 lines

Enum Extract

A crate of helper macros for extracting single enum variants of an enum.

Read the docs on docs.rs.


lib.rs:

This crate provides 2 macros, extract! and let_extract!. See their individual macro-level documentation for more information.

No runtime deps