unsafe fn as_ptr(&self) -> *mut T {
        let data = self.data.as_ref();
        let info_size = mem::size_of::<*mut T>() / mem::size_of::<usize>() - 1;
        let info_ofs = data.len() - info_size;

        let data_ptr = data[..].as_ptr() as usize;

        let mut rv = mem::MaybeUninit::<*mut T>::uninit();
        {
            let s = ptr_as_slice(&mut rv);
            s[0] = data_ptr;
            s[1..].copy_from_slice(&data[info_ofs..]);
        }

        let rv = rv.assume_init();
        assert_eq!(rv as *const (), data_ptr as *const ());

        rv
    }
/// Obtain raw pointer to the contained data
Obtain raw pointer to the contained data
Obtain raw pointer to the contained data
unsafe fn as_ptr(&self) -> *mut T {
        let data = self.data.as_ref();
        let info_size = mem::size_of::<*mut T>() / mem::size_of::<usize>() - 1;
        let info_ofs = data.len() - info_size;
        let data_ptr = data[..].as_ptr() as usize;
        let mut rv = mem::MaybeUninit::<*mut T>::uninit();
        {
            let s = ptr_as_slice(&mut rv);
            s[0] = data_ptr;
            s[1..].copy_from_slice(&data[info_ofs..]);
        }
        let rv = rv.assume_init();
        assert_eq!(rv as *const (), data_ptr as *const ());
        rv
    }
unsafe fn as_ptr ( & self ) -> * mut T { let data = self . data . as_ref ( ) ; let info_size = mem :: size_of :: < * mut T > ( ) / mem :: size_of :: < usize > ( ) - 1 ; let info_ofs = data . len ( ) - info_size ; let data_ptr = data [ .. ] . as_ptr ( ) as usize ; let mut rv = mem :: MaybeUninit :: < * mut T > :: uninit ( ) ; { let s = ptr_as_slice ( & mut rv ) ; s [ 0 ] = data_ptr ; s [ 1 .. ] . copy_from_slice ( & data [ info_ofs .. ] ) ; } let rv = rv . assume_init ( ) ; assert_eq ! ( rv as const ( ) data_ptr as const ( ) ) ; rv }
Obtain raw pointer to the contained data
Obtain raw pointer to the contained data
&self
&self