Get a mutable reference with lifetime tied to MemoryHandle
(&mut self)
| 126 | |
| 127 | /// Get a mutable reference with lifetime tied to MemoryHandle |
| 128 | pub unsafe fn as_mut_ref<T>(&mut self) -> &mut T { |
| 129 | &mut *(self.0 as *mut T) |
| 130 | } |
| 131 | |
| 132 | pub unsafe fn as_mut_ptr<T>(&mut self) -> *mut T { |
| 133 | self.0 as *mut T |
nothing calls this directly
no outgoing calls
no test coverage detected