On this page
  1. rust/std/smart_pointers
  2. Import
  3. Overview
  4. Core (#tier/core)
  5. Standard (#tier/standard)
  6. Specialized (#tier/specialized)

rust/std/smart_pointers

Prev: collections | Up: std | Next: sync
Rel: rust/builtins, Ownership & Internals
Ref: Rust std — smart_pointers
Tags: #public #prog #rust #stdlib #smart_pointers #index


Import

use std::rc::Rc;
use std::sync::Arc;
use std::cell::RefCell;
use std::borrow::Cow;

Overview

Heap indirection, shared ownership, interior mutability, and clone-on-write wrappers.

Core (#tier/core)

Standard (#tier/standard)

Specialized (#tier/specialized)

Linked from

Related notes