Crate once [] [src]

Macros

assert_has_not_been_called!

This macro can be used to ensure that a function is called only once. It panics if the function is called a second time.

lazy_static!

A macro for declaring lazily evaluated statics. Using this macro, it is possible to have statics that require code to be executed at runtime in order to be initialized.