Provide the underlying CodeMemory.
(&self)
| 357 | |
| 358 | /// Provide the underlying CodeMemory. |
| 359 | pub fn code_memory(&self) -> &CodeMemory { |
| 360 | match &self.0 { |
| 361 | StoreCodeStorage::Shared(m) => m, |
| 362 | #[cfg(feature = "debug")] |
| 363 | StoreCodeStorage::Private(m) => m, |
| 364 | } |
| 365 | } |
| 366 | |
| 367 | /// Provide a mutable reference to a CodeMemory that is privately |
| 368 | /// owned only by this StoreCode. |
no outgoing calls
no test coverage detected