Macro vstd::seq
source · macro_rules! seq {
[$($tail:tt)*] => { ... };
}
Expand description
Creates a Seq
containing the given elements.
§Example
let s = seq![11int, 12, 13];
assert(s.len() == 3);
assert(s[0] == 11);
assert(s[1] == 12);
assert(s[2] == 13);