[][src]Macro staticvec::staticvec

macro_rules! staticvec {
    (@add_one $x:expr) => { ... };
    ($($x:expr),*$(,)*) => { ... };
}

Creates a new StaticVec from a vec!-style macro slice, using new_from_slice internally. The newly created StaticVec will have a capacity and length exactly equal to the number of elements in the slice.