Crates.io | car |
lib.rs | car |
version | 0.1.1 |
source | src |
created_at | 2024-03-29 14:57:12.677823 |
updated_at | 2024-07-14 12:48:25.081299 |
description | std::array::{map, from_fn, try_from_fn} in const |
homepage | |
repository | https://github.com/bend-n/car |
max_upload_size | |
id | 1190244 |
size | 9,330 |
car
macro based array manipulation constant techniques
// please note that this is in no way performant or a good idea.
let squares: [usize; 0xffffffff] = car::from_fn!(|i| i * 2);
for once!