Crates.io | arith_traits |
lib.rs | arith_traits |
version | 0.3.2 |
source | src |
created_at | 2021-01-31 04:12:41.305886+00 |
updated_at | 2022-11-11 18:30:24.8214+00 |
description | Traits unifying types based on various supported arithmetic operations. |
homepage | |
repository | https://github.com/u007d/arith_traits |
max_upload_size | |
id | 348752 |
size | 50,199 |
Traits unifying types based on various supported arithmetic operations.
If you've ever wanted your generic function to accept any value that supports, for example,
checked arithmetic, you have discovered that std
does not define a trait
that all checked types
implement.
This crate remedies that. It was developed to simplify the implementation of the
arranged
crate and is leveraged by the companion
arith_wrappers
crate. It may also be of value to other crates performing
generic arithmetic.
Licensed under either:
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.