/// Consumes a `StackPtr` without dropping it, and returns a `&mut` reference to the data. Useful for doing a coercion on the reference and reconstructing a new `StackPtr` with `from_mut`.
Consumes a `StackPtr` without dropping it, and returns a `&mut` reference to the data. Useful for doing a coercion on the reference and reconstructing a new `StackPtr` with `from_mut`.
Consumes a ` StackPtr ` without dropping it and returns a ` &mut ` reference to the data . Useful for doing a coercion on the reference and reconstructing a new ` StackPtr ` with ` from_mut ` .
pub fn into_mut(sp: StackPtr<'a, T>) -> &'a mut T {
        unsafe {
            let ptr = sp.ptr as *mut T;
            mem::forget(sp);
            &mut *ptr
        }
    }
pub fn into_mut ( sp : StackPtr < ' a , T > ) -> & ' a mut T { unsafe { let ptr = sp . ptr as * mut T ; mem :: forget ( sp ) ; & mut * ptr } }
Consumes a `StackPtr` without dropping it, and returns a `&mut` reference to the data.
Consumes a ` StackPtr ` without dropping it and returns a ` &mut ` reference to the data .
sp
StackPtr<'a, T>