scopegraphs-lib 0.1.3

A port of [scopegraphs](https://pl.ewi.tudelft.nl/research/projects/scope-graphs/) to Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use bumpalo::Bump;
use std::fmt::{Debug, Formatter};

#[derive(Default)]
pub struct Storage(pub(crate) Bump);

impl Debug for Storage {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        write!(f, "<scopegraph storage>")
    }
}

impl Storage {
    pub fn new() -> Self {
        Self(Bump::new())
    }
}