macro_rules! vector {
(::<$ptype:ty>,$(,)*$($t:tt)*) => { ... };
(=>$ptype:ty,$(,)*$($t:tt)*) => { ... };
(None$($(;)?$(::)?<$type:ty>)?) => { ... };
(None$($(;)?::$type:ty)?) => { ... };
(None$($(;)?:$type:ty)?) => { ... };
($($(;)?:$type:ty)?) => { ... };
($($(;)?$(::)?<$type:ty>$(,)?)?) => { ... };
($elem:expr; $n:expr$(;:$type:ty)?) => { ... };
($elem:expr; $n:expr$(;$(::)?<$type:ty>)?) => { ... };
($elem:expr; $n:expr;$(=>$type:ty)?) => { ... };
($($x:expr),+ $(,)*$(;:$type:ty)?) => { ... };
($($x:expr),+ $(,)*$(;::$type:ty)?) => { ... };
($($x:expr),+ $(,)*$(;$(::)?<$type:ty>)?) => { ... };
($($x:expr),+ $(,)*;$(=>$type:ty)?) => { ... };
}
Expand description
Creates new Vector.