#rc #arc #shared-ptr #projected

yanked shared-rc

Rc wrapper which can separate the data from the reference count

1 unstable release

0.1.1 Jan 4, 2023
0.1.0 Sep 21, 2022

#8 in #projected

MIT/Apache

25KB
504 lines

github lib.rs docs.rs

Reference-counted fat pointers that contain both an owning std Rc (or Arc) and a pointer to a field owned by that Rc. This is a "self-referential" type in the vein of ouroboros or yoke.

By specializing just for the reference-counted pointers, this crate provides a much simpler API compared to that of ouroboros, yoke, or any other crate for general self-referential types.

Dependencies