(self)
| 88 | /// Returns `None` if this is not a shared memory. |
| 89 | #[inline] |
| 90 | pub fn into_shared_memory(self) -> Option<SharedMemory> { |
| 91 | match self { |
| 92 | Extern::SharedMemory(memory) => Some(memory), |
| 93 | _ => None, |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /// Returns the underlying `Tag`, if this external is a tag. |
| 98 | /// |
no outgoing calls
no test coverage detected