shared-rc

Crates.ioshared-rc
lib.rsshared-rc
version0.1.1
sourcesrc
created_at2022-09-21 23:29:10.664656
updated_at2023-01-04 00:49:11.184292
descriptionRc wrapper which can separate the data from the reference count
homepage
repositoryhttps://github.com/point-rs/shared-rc
max_upload_size
id671222
size25,016
Christopher Durham (CAD97)

documentation

README

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.

Commit count: 7

cargo fmt