Sheerluck's Digital Garden
Search
Search
Dark mode
Light mode
Reader mode
Explorer
Home
❯
Sources
❯
The Rust Official Book
The Rust Official Book
Sep 22, 2026
1 min read
source:
The Rust Book
Graph View
Backlinks
Understanding Rust Ownership by Building a Zero-Copy Log Line Parser
A Live String Slice Restricts Mutation Of Its Source
A Mutable Reference Gives Temporary Permission To Change A Value
A String Slice Borrows Part of Existing String Data
Assigning A String Moves Its Ownership
Borrowing Lets A Function Use A Value Without Owning It
Cloning A String Creates Another Owned Allocation
Passing An Owned Value Into A Function Can Move It
Rust Allows Many Readers or One Writer At A Time
Rust Drops An Owned Value When its Owner Leaves Scope
Rust Prevents References From Outliving Their Owners
Rust String Slice Indices Refer To UTF-8 Byte Boundaries
Rust Uses Ownership to Decide Who is Responsible For A Value
Stack and Heap Storage Explain Why A `String` Needs An Owner
Values Implementing Copy Remain Usable After Assignment