Expand description
This crate provides 2 macros, extract! and let_extract!. See their
individual macro-level documentation for more information.
Macrosยง
- extract
- Extract the fields of a single variant from an enum, returning an
Option<T>whereTis either the single field, or a tuple of each of the fields in the order they are written. - let_
extract - Extract the fields of a single variant from an enum, binding them into the current scope.