Skip to content
Tools
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Tools
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
Home
Glossary
Rust
Languages
Rust Glossary
Memory-safe systems language and its compiler, rustc.
All Rust pages
What is ownership in Rust?
Ownership is Rust's rule that every value has one owner, assigning a non-Copy value moves it, and the value is dropped when the owner goes out of scope.
Esc