Create a new table value reference.
(data: S)
| 369 | impl<T: rkyv::Archive, S: AsRef<[u8]>> TableValueRef<T, S> { |
| 370 | /// Create a new table value reference. |
| 371 | fn new(data: S) -> Self { |
| 372 | Self { |
| 373 | data, |
| 374 | _marker: PhantomData, |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | /// Borrowed access to the data (no copy, cheap). |
| 379 | pub fn get(&self) -> &T::Archived { |
nothing calls this directly
no outgoing calls
no test coverage detected