dreck 0.1.1

A safe tracing garbage collection library with minimal safety bookkeeping
Documentation
1
2
3
4
5
6
7
8
9
10
use dreck::*;

fn same_owner<'own>(_: &Owner<'own>, _: &Owner<'own>) {}

fn main() {
    new_root!(owner1, _root1);
    new_root!(owner2, _root2);

    same_owner(owner1, owner2);
}