Understanding Ownership
Ownership is Rust’s core memory management system that enables memory safety without garbage collection. This chapter covers ownership, borrowing, slices, and memory layout—concepts that differentiate Rust from garbage-collected languages like JavaScript/TypeScript.