Crate kiam[][src]

("kiam" is "when" in Esperanto)

This crate entroduces when! macro which provides better syntax for if/else if/else chains. The syntax is similar to match.

(idea is borrowed from kotlin)

Macros

when

Better syntax for if/else if/else similar to match syntax