Crate rcell

source · []
Expand description
  • RCell, because all most its methods start with a “r”

A Wrapper for Arc that can be Arc<T>, Weak<T> or Empty allowing one to retain values selectively.

To be used when one has to store a reference to some data but if this reference needs to keep it alive or not is to be determined at runtime.

Structs

A RCell holding either an Arc<T>, a Weak<T> or being Empty.

Traits

Helper Trait for replacing the content of a RCell with something new.