fn_macro

Crates.iofn_macro
lib.rsfn_macro
version0.1.3
sourcesrc
created_at2022-05-08 14:54:33.500475
updated_at2024-11-08 11:18:00.44479
description函数宏
homepagehttps://github.com/ptechen
repositoryhttps://github.com/ptechen/fn_macro.git
max_upload_size
id582561
size18,780
Petechen (ptechen)

documentation

https://github.com/ptechen/fn_macro/blob/master/README.md

README

fn_macro

Version info Downloads docs dependency status

Example

    use fn_macro::prelude::*;
        
    #[test]
    fn test() {
        if_else!(true, 1, 2);
        hashmap!(1 => 2);
    }
Commit count: 8

cargo fmt