Crate el_macro

Crate el_macro 

Source

Macros§

bind
Binds expression e to a new variable n if it ‘has a value’ / ‘is ok’. Otherwise, executes the optional error handler h and evaluates the f expression.
if_matches
Maps pattern’s bound variables to Some if the provided expression matches the pattern.

Traits§

IntoResult
Tells the bind macro whether the given expression yielded a bindable value or an error.