Crate cond

Crate cond 

Source
Expand description

A macro for matching on boolean conditions.

For the full documentation, see cond.

Macrosยง

cond
A macro for matching on boolean conditions, like an empty Go switch statement.