Macro rpds::list [−][src]
macro_rules! list {
($($e : expr), *) => { ... };
}
Expand description
Creates a List
containing the given arguments:
let l = List::new()
.push_front(3)
.push_front(2)
.push_front(1);
assert_eq!(list![1, 2, 3], l);