Skip to main content

mixvec

Macro mixvec 

Source
macro_rules! mixvec {
    ($( $val:expr_2021 ),*) => { ... };
}
Expand description

A variant on vec! where each argument receives an additional .into() call best used with an outer context that explicitly provides the expected type, such as

let stored_vec : Vec<Stored> = mixvec!(1, true, "string");