pub unsafe fn slice_ptr(&self) -> *mut u8 {
        let ret = if self.len > 0 {
            debug_assert!(!self.ptr.is_null());
            self.ptr as *mut u8
        } else {
            std::ptr::NonNull::dangling().as_ptr()
        };
        debug_assert!(!ret.is_null());
        ret
    }
/// Returns a pointer to this Secret's underlying memory. The returned pointer is guaranteed to
/// be suitable for constructing a slice, even if this Secret is empty. This pointer is
/// guaranteed to be non-NULL.
Returns a pointer to this Secret's underlying memory. The returned pointer is guaranteed to
be suitable for constructing a slice, even if this Secret is empty. This pointer is
guaranteed to be non-NULL.
Returns a pointer to this Secret ' s underlying memory . The returned pointer is guaranteed to be suitable for constructing a slice even if this Secret is empty . This pointer is guaranteed to be non - NULL .
pub unsafe fn slice_ptr(&self) -> *mut u8 {
        let ret = if self.len > 0 {
            debug_assert!(!self.ptr.is_null());
            self.ptr as *mut u8
        } else {
            std::ptr::NonNull::dangling().as_ptr()
        };
        debug_assert!(!ret.is_null());
        ret
    }
pub unsafe fn slice_ptr ( & self ) -> * mut u8 { let ret = if self . len > 0 { debug_assert ! ( self ptr is_null ( ) ) ; self . ptr as * mut u8 } else { std :: ptr :: NonNull :: dangling ( ) . as_ptr ( ) } ; debug_assert ! ( ret is_null ( ) ) ; ret }
Returns a pointer to this Secret's underlying memory.
Returns a pointer to this Secret ' s underlying memory .
&self
&self