Expand description
Compile-time asserting.
Modules§
- cta
- Compile-time assertions.
- exposed
- Exposed namespace of the module.
- layout
- Compile-time asserting of memory layout.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*. - rta
- Run-time assertions.
Macros§
- a_
dbg_ false - Asserts that a boolean expression is false at runtime.
- a_
dbg_ id - Asserts that two expressions are identical.
- a_
dbg_ not_ id - Asserts that two expressions are not identical with each other.
- a_
dbg_ true - Asserts that a boolean expression is true at runtime.
- a_false
- Asserts that a boolean expression is false at runtime.
- a_id
- Asserts that two expressions are identical to each other (using
PartialEq). Prints nice diff. - a_
not_ id - Asserts that two expressions are not identical to each other (using
PartialEq). Prints nice diff. - a_true
- Asserts that a boolean expression is true at runtime.
- assert_
eq - Asserts that two expressions are identical to each other (using
PartialEq). Prints nice diff. - assert_
ne - Asserts that two expressions are not identical to each other (using
PartialEq). Prints nice diff. - cta_
mem_ same_ size - Compile-time assertion that two values have the same size.
- cta_
ptr_ same_ size - Compile-time assertion that memory behind two references have the same size.
- cta_
true - Macro to compare meta condition is true at compile-time.
- cta_
type_ same_ align - Compile-time assertion of having the same align.
- cta_
type_ same_ size - Compile-time assertion that two types have the same size.