flex_alloc

Macro vec

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

Allocate a new Vec instance with optional initial items.