Crates.io | fn_macro |
lib.rs | fn_macro |
version | 0.1.3 |
source | src |
created_at | 2022-05-08 14:54:33.500475 |
updated_at | 2024-11-08 11:18:00.44479 |
description | 函数宏 |
homepage | https://github.com/ptechen |
repository | https://github.com/ptechen/fn_macro.git |
max_upload_size | |
id | 582561 |
size | 18,780 |
use fn_macro::prelude::*;
#[test]
fn test() {
if_else!(true, 1, 2);
hashmap!(1 => 2);
}