Module diag

Module diag 

Source
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.