Glossary: Rust Beyond the Basics
Rc (reference counted)
Also written: Rc, Rc<T>, Rc::clone
A smart pointer for shared, read-only ownership on one thread. It counts the owners and drops the value when the count reaches zero.
Glossary: Rust Beyond the Basics
Also written: Rc, Rc<T>, Rc::clone
A smart pointer for shared, read-only ownership on one thread. It counts the owners and drops the value when the count reaches zero.