Borrowed access to the data (no copy, cheap).
(&self)
| 377 | |
| 378 | /// Borrowed access to the data (no copy, cheap). |
| 379 | pub fn get(&self) -> &T::Archived { |
| 380 | unsafe { rkyv::archived_root::<T>(self.data.as_ref()) } |
| 381 | } |
| 382 | |
| 383 | /// Deserialize the value into an owned object. |
| 384 | pub fn read(&self) -> T |
no outgoing calls