macro_rules! unsize_vec {
() => { ... };
($($x:expr),+ $(,)?) => { ... };
}Expand description
Like unsized_vec, but unsizes its arguments
using the Unsize trait.
Accepts sized values that can coerce to an unsized T.
If you have raw unsized Ts or Emplacable<T,_>s,
use unsized_vec instead.
ยงExample
use core::fmt::Debug;
use unsized_vec::{unsize_vec, UnsizedVec};
let my_vec: UnsizedVec<dyn Debug> = unsize_vec![1, "hello!", 97.5];