Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

armanriazi•rust•vec

// <4> A "Vec" type is shorthand for vector. Vectors are arrays that will dynamically expand when needed.
// The underscore asks the the compiler to infer the type of the vector's elements.
        let fields: Vec<_> = record 
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+9 =