assertions 0.1.0

Provides const assertions mechanism.
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented1 out of 1 items with examples
  • Size
  • Source code size: 2.97 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zachreizner denniskempin

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.