Crates.io | ghost-gc |
lib.rs | ghost-gc |
version | 0.1.0 |
source | src |
created_at | 2024-11-28 12:20:40.65835 |
updated_at | 2024-11-28 12:20:40.65835 |
description | A safe garbage collected arena. |
homepage | |
repository | |
max_upload_size | |
id | 1464292 |
size | 54,451 |
A garbage collected arena in which garbage collected boxes can be allocated, and which can't escape from the arena, using invariant lifetimes.
Gc
]The main type of this crate. A garbage collected pointer which is branded with an invariant lifetime. This is a thin pointer, any associated metadata is stored inline with the data.
The Gc
is capable of holding any type which implements the trait [Collect
],
which includes most types which do not contain interior mutability.