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

#97 in #enum

Download history 85/week @ 2024-03-13 169/week @ 2024-03-20 253/week @ 2024-03-27 117/week @ 2024-04-03 241/week @ 2024-04-10 222/week @ 2024-04-17 156/week @ 2024-04-24 163/week @ 2024-05-01 210/week @ 2024-05-08 135/week @ 2024-05-15 320/week @ 2024-05-22 130/week @ 2024-05-29 168/week @ 2024-06-05 30/week @ 2024-06-12 188/week @ 2024-06-19 257/week @ 2024-06-26

654 downloads per month
Used in 3 crates

MIT license

11KB
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