Returns a rust [`pointer`] created from this pointer, meant for FFI purposes. The pointer is not dereferenceable from the CPU!
(&self)
| 41 | /// Returns a rust [`pointer`] created from this pointer, meant for FFI purposes. |
| 42 | /// **The pointer is not dereferenceable from the CPU!** |
| 43 | pub fn as_ptr(&self) -> *const T { |
| 44 | self.ptr as *const T |
| 45 | } |
| 46 | |
| 47 | /// Returns a rust [`pointer`] created from this pointer, meant for FFI purposes. |
| 48 | /// **The pointer is not dereferenceable from the CPU!** |
no outgoing calls
no test coverage detected