Crates.io | nonzero_signed |
lib.rs | nonzero_signed |
version | 1.0.4 |
source | src |
created_at | 2018-09-21 19:25:20.11675 |
updated_at | 2024-05-15 00:39:20.412398 |
description | DEPRECATED Rust's std lib has 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 A small set of types for signed nonzero integers. |
homepage | |
repository | https://github.com/Xaeroxe/nonzero_signed |
max_upload_size | |
id | 85864 |
size | 6,761 |
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
.
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.