pub unsafe fn heap_addr(&self) -> *const u8 {
        self.memory()
            .map(|mem| mem.data_unchecked().as_ptr())
            .unwrap_or_else(|_| std::ptr::null())
    }
/// Return the heap address. If the Instance does not contain any memory,
/// the pointer is null.
///
/// # Safety
/// This function returns a pointer to Instance's memory. The pointer is
/// only valid while the Instance object is kept alive.
Return the heap address. If the Instance does not contain any memory,
the pointer is null.
Return the heap address . If the Instance does not contain any memory the pointer is null .
pub unsafe fn heap_addr(&self) -> *const u8 {
        self.memory()
            .map(|mem| mem.data_unchecked().as_ptr())
            .unwrap_or_else(|_| std::ptr::null())
    }
pub unsafe fn heap_addr ( & self ) -> * const u8 { self . memory ( ) . map ( | mem | mem . data_unchecked ( ) . as_ptr ( ) ) . unwrap_or_else ( | _ | std :: ptr :: null ( ) ) }
Return the heap address.
Return the heap address .
&self
&self
safety
This function returns a pointer to Instance's memory. The pointer is
only valid while the Instance object is kept alive.
This function returns a pointer to Instance ' s memory . The pointer is only valid while the Instance object is kept alive .