Back to Comprehensive Rust

Pinning

src/unsafe-deep-dive/pinning/README.md

latest556 B
Original Source
<!-- Copyright 2026 Google LLC SPDX-License-Identifier: CC-BY-4.0 -->

Pinning

Important Note

Do not add this section to the project's SUMMARY.md yet. Once CLs/PRs to accept all the new segments for the Unsafe Deep Dive have been included in the repository, an update to SUMMARY.md will be made.

About

This segment explains pinning, Rust's Pin<Ptr> type and concepts that relate to FFI rather than its async use case. Treatment of the Unpin trait and the PhantomPinned type is provided.

Status

Provisional/beta.

Outline