Returns the offset of this pointer in guest memory. Note that for sized types this returns a `u32`, but for slices and strings it returns a `(u32, u32)` pointer/length pair.
(&self)
| 372 | /// Note that for sized types this returns a `u32`, but for slices and |
| 373 | /// strings it returns a `(u32, u32)` pointer/length pair. |
| 374 | pub fn offset(&self) -> T::Pointer { |
| 375 | self.pointer |
| 376 | } |
| 377 | |
| 378 | /// Casts this `GuestPtr` type to a different type. |
| 379 | /// |
no outgoing calls
no test coverage detected