Glossary: Software Design Patterns in Rust
static
Also written: static mut
A global that lives for the whole program. Rust lets you change one only behind a `Mutex` (or via `unsafe` with `static mut`).
Glossary: Software Design Patterns in Rust
Also written: static mut
A global that lives for the whole program. Rust lets you change one only behind a `Mutex` (or via `unsafe` with `static mut`).