Skip to content

Glossary: Desktop Apps with Electron and Tauri

Rust types (u32, String, &str, Vec)

Also written: u32, &str, String, Vec, Vec<T>, vector

`u32` is a whole number from 0 to about 4 billion; `String` owns its text while `&str` borrows it; `Vec<T>` is a list whose items all have one type, like a typed JavaScript array.

Where the book teaches it

Related terms

StructserdeBorrowing (&)