Crate mac [−] [src]
mac
A collection of great and ubiqutitous macros.
Modules
format |
Macros for string formatting. |
matches |
Pattern Matching macros. |
mem |
Macros for low-level memory manipulation. |
syntax_ext |
Macros useful when writing procedural syntax extensions. |
test |
Macros for writing test suites. |
Macros
addrs_of! |
Make a tuple of the addresses of some of a struct's fields. |
do_while! |
Do-while loop. |
ext_bail! |
Call |
ext_bail_if! |
|
ext_expect! |
Unwrap the |
format_if! |
Conditionally perform string formatting. |
matches! |
Returns true if an expression matches a pattern. |
test_eq! |
Generate a test function |
unwrap_or_return! |
Unwraps an |