Provisions a new unique ID without interning any value. This is useful when creating recursive data structures, where an ID needs to be known before the full structure can be created. # Returns A provisioned ID that can be used with `intern_provisioned`. # Examples ``` # use hashql_core::{heap::Heap, intern::{InternMap, Decompose, Interned, Provisioned}, id::{HasId, Id, newtype}}; # newtype!(
(&self)
| 461 | /// assert_eq!(obj.id(), id.value()); |
| 462 | /// ``` |
| 463 | pub fn provision(&self) -> Provisioned<T::Id> { |
| 464 | Provisioned(self.next_id()) |
| 465 | } |
| 466 | |
| 467 | /// Interns a partial representation with a previously provisioned ID. |
| 468 | /// |