Skip to content

Glossary: Desktop Apps with Electron and Tauri

Rust keywords (fn, let mut, use)

Also written: fn, ->, let, let mut, mut, use

`fn` starts a Rust function and `->` gives its return type; `let` makes a variable that can't change unless you write `let mut`; `use` brings names from a crate into the file.

Where the book teaches it

Related terms

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