macro_rules! vec_deque_e {
{$v: expr; $c: expr} => { ... };
{$($v: expr),* $(,)?} => { ... };
}Available on crate feature
std only.Expand description
Explicitly typed equivalent of vec_deque!.
See the explicity typed macros section.
ยงExamples
use std::collections::VecDeque;
use std::fmt::Debug;
use map_macro::vec_deque_e;
let v: VecDeque<&dyn Debug> = vec_deque_e![&0, &1, &2, &3];
let v: VecDeque<&dyn Debug> = vec_deque_e![&0; 4];