5 stable releases
Uses old Rust 2015
1.0.4 | May 15, 2024 |
---|---|
1.0.3 | Jan 22, 2019 |
1.0.2 | Sep 21, 2018 |
#18 in #non-zero
1,222 downloads per month
7KB
84 lines
nonzero_signed
DEPRECATED
Rust's std lib stabilized their own signed NonZero types in Rust 1.34, please use
those instead if you're using Rust 1.34 or greater. You can find them in std::num
or core::num
.
Description
This rust crate provides a small set of types for signed nonzero integers.
This is implemented by wrapping nonzero unsigned types and casting as needed, these wrappers are guaranteed to be zero cost because the casts are zero cost.
Provided with a dual license of the MIT and Apache 2.0 licenses.
Dependencies
~4KB