/// Creates a new inner state that performs all operations on the heap.
Creates a new inner state that performs all operations on the heap.
Creates a new inner state that performs all operations on the heap .
pub fn new(heap: Heap) -> Self {
        Self {
            heap,
            next_unique_link_id: AtomicU64::new(0),
            callbacks: HashMap::new(),
            transaction_count: 0,
        }
    }
pub fn new ( heap : Heap ) -> Self { Self { heap , next_unique_link_id : AtomicU64 :: new ( 0 ) , callbacks : HashMap :: new ( ) , transaction_count : 0 , } }
Creates a new inner state that performs all operations on the heap.
Creates a new inner state that performs all operations on the heap .
heap
Heap