| Crates.io | integral_constant |
| lib.rs | integral_constant |
| version | 0.1.0 |
| created_at | 2023-09-18 15:44:07.834972+00 |
| updated_at | 2023-09-18 15:44:07.834972+00 |
| description | Type-level wrappers around constant values |
| homepage | |
| repository | https://github.com/taylordotfish/integral_constant |
| max_upload_size | |
| id | 976040 |
| size | 16,858 |
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.