[][src]Crate shoogah_macros

shoogah_macros is a helper that provides the macros for the shoogah crate.

Macros

boo

Boolean coercion

cxp

Express an if/else in a shorthand manner. This is sometimes called the ternary operator in other languages.

ela

When the assigned-to variable is the condition being tested, Elvis assign (ela!) can help even more.

elv

When the main result of an if/else is the same as the tested condition, Elvis (elv!) is here to help.

hml

Define a std::collections::HashMap via a simple literal.

sin

String interpolation.

spr

Collect common field values from an Iterator.

suf

Incrementing or decrementing by 1.