Macro list_tools::clist
source · macro_rules! clist { () => { ... }; ($arg:expr; $n:expr) => { ... }; ($($x:expr),+) => { ... }; }
Expand description
快速生成crate::List
§Examples
use list_tools::{List, clist};
assert_eq!(clist!(1, 2), List::vec_to_list(vec![1, 2]));