Skip to main content

vec

Macro vec 

Source
macro_rules! vec {
    () => { ... };
    ($elem:expr; $n:expr) => { ... };
    ($($x:expr),+ $(,)?) => { ... };
}
Expand description

Creates a Vec<T> from a list of elements

Allows creating a VPP vector in a similar way to the standard library’s vec! macro.