Macro vector

Source
macro_rules! vector {
    ($($x:expr),*) => { ... };
}
Expand description

Create a new vector with the given components.

vector!(1, 2, 3);

The above will expand to:

Vector::new([1, 2, 3]);