Macro rpds::vector_sync [−][src]
macro_rules! vector_sync {
($($e : expr), *) => { ... };
}
Expand description
Creates a Vector
that implements Sync
, containing the given arguments:
let v = Vector::new_sync()
.push_back(1)
.push_back(2)
.push_back(3);
assert_eq!(vector_sync![1, 2, 3], v);