Crate union_impl

Source
Expand description

Implementation of the union! macro.

Re-exports§

pub use crate::union::*;

Modules§

expr_chain
Contains Chain trait and implementation, expressions, groups and utils to work with all of them.
handler
Handler defines handler function of 3 possible types: map, and_then and then. map and and_then will be evaluted in case of all successful results and then will be evaluated in any case, which allows user to define its own handlers for every error.
union
Defines Union struct and generate_union function to generate output of the union! macro based on input and given config.

Macros§

group_determiner
instant_and_deferred_determiners
tokens_checker