Skip to content

jmjoy/helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helper

Rust Crate API

A library provided some useful proc macros for Rust.

Macros

  • control flow

    • either: Ternary operator in many C-like languages.
  • collections

    • btmap: Create std::collections::BTreeMap from list of key-value pairs.
    • btset: Create a std::collections::BTreeSet from a list of elements.
    • hmap: Create std::collections::HashMap from list of key-value pairs.
    • hset: Create a std::collections::HashSet from a list of elements.

License

MulanPSL-2.0

About

A library provided some useful proc macros for Rust.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages