(self: Pin<&mut Self>)
| 1509 | } |
| 1510 | |
| 1511 | fn store_mut(self: Pin<&mut Self>) -> &mut Option<VMStoreRawPtr> { |
| 1512 | // SAFETY: this is a pin-projection to get a mutable reference to an |
| 1513 | // internal field and is safe so long as the `&mut Self` temporarily |
| 1514 | // created is not overwritten, which it isn't here. |
| 1515 | unsafe { &mut self.get_unchecked_mut().store } |
| 1516 | } |
| 1517 | |
| 1518 | fn memories_mut( |
| 1519 | self: Pin<&mut Self>, |