macro_rules! vector {
    () => { ... };
    ($($elem:expr),*) => { ... };
}Expand description
Creates a new Vec instance.
This macro can be used in two forms:
- Without arguments, it creates an empty 
Vec. - With elements, it creates a 
Vecinitialized with the provided elements. 
ยงExamples
use std_macro_extensions::*;
let empty_vector: Vec<i32> = vector!();
let numbers = vector!(1, 2, 3);