#ops #traits #arithmetic #const #version #std #const-ready

nightly const_ops

const-ready version of core::ops / std::ops arithmetic traits

4 releases

0.2.2 Aug 5, 2023
0.2.1 Aug 5, 2023
0.2.0 Jul 28, 2023
0.1.0 Jul 27, 2023

#1638 in Math


Used in const_traits

GPL-3.0-only

16KB
456 lines

A const-ready version of core::ops / std::ops arithmetic traits

All traits are the same as in std / core but prefixed with the #[const_trait] attribute to allow usage in const situations.

This crate is designed in such a way that, as soon as the #[const_trait] attribute is used in core / std all imports of this crate can simply be deleted.

No runtime deps