Skip to main content

vec

Macro vec 

macro_rules! vec {
    ( $( $elem:expr ),* ) => { ... };
    ( $elem:expr; $len:expr ) => { ... };
}
Expand description

Same as the std::vec! macro but returns an error on allocation failure.