Module rust_cc::weak

source ·
Available on crate feature weak-ptr only.
Expand description

Non-owning Weak pointers to an allocation.

The downgrade method can be used on a WeakableCc to create a non-owning Weak pointer. A Weak pointer can be upgraded to a Cc, but this will return None if the allocation has already been deallocated.

Structs§

Type Aliases§