pub unsafe fn decomp<T: ?Sized>(ptr: *const T) -> [usize; 2] {
    let ptr_ref: *const *const T = &ptr;
    let decomp_ref = ptr_ref as *const [usize; 2];
    *decomp_ref
}
/// Decompose a fat pointer into its constituent [pointer, extdata] pair
///
/// # Safety
///
/// Must only be called with the generic, `T`, being a trait object.
Decompose a fat pointer into its constituent [pointer, extdata] pair
Decompose a fat pointer into its constituent [ pointer extdata ] pair
pub unsafe fn decomp<T: ?Sized>(ptr: *const T) -> [usize; 2] {
    let ptr_ref: *const *const T = &ptr;
    let decomp_ref = ptr_ref as *const [usize; 2];
    *decomp_ref
}
pub unsafe fn decomp < T : ? Sized > ( ptr : * const T ) -> [ usize ; 2 ] { let ptr_ref : * const * const T = & ptr ; let decomp_ref = ptr_ref as * const [ usize ; 2 ] ; * decomp_ref }
Decompose a fat pointer into its constituent [pointer, extdata] pair
Decompose a fat pointer into its constituent [ pointer extdata ] pair
ptr
*const T
safety
Must only be called with the generic, `T`, being a trait object.
Must only be called with the generic ` T ` being a trait object .