integral_constant 0.1.0

Type-level wrappers around constant values
Documentation
  • Coverage
  • 100%
    31 out of 31 items documented0 out of 15 items with examples
  • Size
  • Source code size: 16.53 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.4 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • taylordotfish/integral_constant
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • taylordotfish

integral_constant

This crate provides type-level representations of constant values. The name integral_constant is a reference to std::integral_constant in C++, which serves a similar purpose. Unlike std::integral_constant, this crate provides separate wrapper types depending on the type of the constant value, since the type of const generics in Rust cannot depend on type parameters.