Module test_tools::protected::diagnostics::diag
source · Expand description
Compile-time asserting.
Modules§
- Compile-time assertions.
- Exposed namespace of the module.
- Compile-time asserting of memory layout.
- Orphan namespace of the module.
- Prelude to use essentials:
use my_module::prelude::*
. - Protected namespace of the module.
- Run-time assertions.
Macros§
- Asserts that a boolean expression is false at runtime.
- Asserts that two expressions are identical.
- Asserts that two expressions are not identical with each other.
- Asserts that a boolean expression is true at runtime.
- Asserts that a boolean expression is false at runtime.
- Asserts that two expressions are identical to each other (using
PartialEq
). Prints nice diff. - Asserts that two expressions are not identical to each other (using
PartialEq
). Prints nice diff. - Asserts that a boolean expression is true at runtime.
- Asserts that two expressions are identical to each other (using
PartialEq
). Prints nice diff. - Asserts that two expressions are not identical to each other (using
PartialEq
). Prints nice diff. - Compile-time assertion that two values have the same size.
- Compile-time assertion that memory behind two references have the same size.
- Macro to compare meta condition is true at compile-time.
- Compile-time assertion of having the same align.
- Compile-time assertion that two types have the same size.