The Vec
dynamic vector.
The vector type is a growable dynamic array that can hold an ordered collection of values.
Tuples in Rune are declared with the special [a]
syntax, but can also be interacted with through the fundamental Vec
type.
The vector type has support for native pattern matching:
let value = ;
if let = value
Examples
let empty = ;
let one = ;
let two = ;
assert!;
assert_eq!;
assert_eq!;
assert_eq!;