Search code examples
How do I return a reference to something inside a RefCell without breaking encapsulation?...

rustencapsulationcontravariancemutabilityinterior-mutability

Read More
Interior mutability abuse in API design?...

rustapi-designinterior-mutability

Read More
How to return reference to value inside Rc<RefCell<Node>>...

rustborrow-checkerownershipinterior-mutability

Read More
How to mutably reference one of several things at a time in Rust?...

rustinterior-mutability

Read More
Is there a way to make an immutable reference mutable?...

data-structuresrustmutabilityinterior-mutability

Read More
Situations where Cell or RefCell is the best choice...

rustinterior-mutability

Read More
"Unwrapping" Rc<RefCell<T>> in the proper way...

rustinterior-mutability

Read More
OOP in Rust and shared/mutable references...

ooprustinterior-mutability

Read More
How to convert RefMut<T> to Ref<T>...

rustinterior-mutability

Read More
"cannot return value referencing temporary value" and interior mutability in Rust...

rustownershipinterior-mutabilityrefcell

Read More
How to read & modify value of node in linked tree?...

rusttreereference-countingborrowinginterior-mutability

Read More
How can I use internal mutability with generic type in Rust?...

genericsrusttraitscompositioninterior-mutability

Read More
A cell with interior mutability allowing arbitrary mutation actions...

rustinterior-mutability

Read More
Rust: allow multiple threads to modify an image (wrapper of a vector)?...

multithreadingrustlifetimeinterior-mutability

Read More
Why is my zero-cost alternative to RefCell not the standard way of achieving interior mutability?...

rustlifetimeinterior-mutability

Read More
Having Rc<T>s in one module and Rc<RefCell<T>>s in another referencing the same da...

data-structuresrustinterior-mutability

Read More
What is the intended way to match an interior mutable enum?...

enumsrustmatchinginterior-mutability

Read More
Why Mutex was designed to need an Arc in Rust...

rustmutexsmart-pointersinterior-mutability

Read More
How to pass Rc<RefCell<dyn T>> to fn that wants &dyn T?...

rustdereferencetrait-objectsinterior-mutability

Read More
Comparing value enclosed in RefCell<T>...

rustinterior-mutability

Read More
Cyclic reference of RefCell borrows in traversal...

rustsmart-pointerslifetimeborrowinginterior-mutability

Read More
How to make a subscriber object with RAII properties?...

rustraiiborrow-checkerinterior-mutability

Read More
Interior mutability vs data hiding to hold fixed the referant of a mutable borrow...

rustborrow-checkerborrowinginterior-mutability

Read More
Safely return multiple references to internal nodes, while still allowing mutation of other nodes...

data-structuresrustmutabilityinterior-mutability

Read More
How to access value in RefCell properly...

rustsmart-pointersinterior-mutability

Read More
How does Rayon prevent the use of RefCell<T>, Cell<T> and Rc<T> between threads?...

rustthread-safetyrayoninterior-mutability

Read More
How do I return an iterator that has a reference to something inside a RefCell?...

referencerustiteratorinterior-mutability

Read More
Is there an alternative or way to have Rc<RefCell<X>> that restricts mutability of X?...

rustimmutabilityinterior-mutability

Read More
BackNext