Macro rpds::list_sync [−][src]
Creates a List
that implements Sync
, containing the
given arguments:
let l = List::new_sync() .push_front(3) .push_front(2) .push_front(1); assert_eq!(list_sync![1, 2, 3], l); fn is_sync() -> impl Sync { list_sync![0, 1, 1, 2, 3, 5, 8] }