nonzero_signed

Crates.iononzero_signed
lib.rsnonzero_signed
version1.0.4
sourcesrc
created_at2018-09-21 19:25:20.11675
updated_at2024-05-15 00:39:20.412398
descriptionDEPRECATED 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
repositoryhttps://github.com/Xaeroxe/nonzero_signed
max_upload_size
id85864
size6,761
Jacob Kiesel (Xaeroxe)

documentation

https://xaeroxe.github.io/nonzero_signed/doc/nonzero_signed/

README

nonzero_signed Crates.io

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.

Commit count: 10

cargo fmt