Crates.io | i2u |
lib.rs | i2u |
version | 0.9.1 |
source | src |
created_at | 2024-07-03 00:48:25.769864 |
updated_at | 2024-07-03 01:37:06.894507 |
description | Common useful functions, that are Zero cost abstractions using generics, to easily convert numbers to binary, hex, octal, and convert any type that implements Debug into a String. |
homepage | https://apps4u.co/ |
repository | https://github.com/apps4uco/i2u |
max_upload_size | |
id | 1290056 |
size | 16,033 |
If you do not want to import the i2u crate, you can always copy the implementation, or use the documented std::fmt equivalent, see each module for details.
Although the methods are not marked #[inline], they are generic methods and so are codegened into each compilation unit separately and therefore candidates for inlining. Therefore the compiler should generate exactly the same code as if you had used the standard library directly.
To be confirmed
i2u.co
If you notice a mistake in the Documentation, can simplify the code or have another function that you would like to include please create a Pull Request or an Issue