Module assert

Module assert 

Source
Expand description

Assertions.

Modules§

exposed
Exposed namespace of the module.
orphan
Shared with parent namespace of the module
own
Own namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.

Macros§

debug_assert_id
Macro asserts that two expressions are identical to each other. Unlike std::assert_eq it is removed from a release build.
debug_assert_identical
Macro asserts that two expressions are identical to each other. Unlike std::assert_eq it is removed from a release build. Alias of debug_assert_id.
debug_assert_ni
Macro asserts that two expressions are not identical to each other. Unlike std::assert_eq it is removed from a release build.
debug_assert_not_identical
Macro asserts that two expressions are not identical to each other. Unlike std::assert_eq it is removed from a release build.