Skip to content

Glossary: Rust Beyond the Basics

Deref

Also written: dereference operator, dereference, *

A trait that lets `*` follow a pointer to the value inside and lets method calls reach through it. `Box`, `String`, `Vec` and `Rc` implement it.

Where the book teaches it

Related terms

smart pointerBoxDrop