Interns a partial representation and returns the complete object. # Returns The complete reconstructed object of type `T`. # Examples ``` # use hashql_core::{heap::Heap, intern::{InternMap, Decompose, Interned}, id::{HasId, Id, newtype}}; # newtype!(struct ValueId(u32 is 0..=0xFFFF_FF00)); # #[derive(Debug, PartialEq, Eq, Hash)] # struct Value { # id: ValueId, # value: i32, # } # impl
(&self, partial: T::Partial)
| 419 | /// assert_eq!(obj.id(), obj2.id()); |
| 420 | /// ``` |
| 421 | pub fn intern_partial(&self, partial: T::Partial) -> T { |
| 422 | self.intern_parts(None, partial) |
| 423 | } |
| 424 | |
| 425 | /// Provisions a new unique ID without interning any value. |
| 426 | /// |