[][src]Macro staticvec::staticvec

macro_rules! staticvec {
    (@put_one $val:expr) => { ... };
    ($val:expr; $n:expr) => { ... };
    ($($val:expr),*$(,)*) => { ... };
}

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