integral_constant

Crates.iointegral_constant
lib.rsintegral_constant
version0.1.0
sourcesrc
created_at2023-09-18 15:44:07.834972
updated_at2023-09-18 15:44:07.834972
descriptionType-level wrappers around constant values
homepage
repositoryhttps://github.com/taylordotfish/integral_constant
max_upload_size
id976040
size16,858
taylor.fish (taylordotfish)

documentation

https://docs.rs/integral_constant

README

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.

Commit count: 1

cargo fmt