[][src]Crate assertions

Macros that assert properties of code at compile time.

A static assertion is particularly appropriate when unsafe code relies on two types to have the same size, or on some type to have a particular size.

Macros

const_assert

Macro that fails to compile if a given const expression is not true.