pub fn from_box(src: Box<HeaderSlice<H, T>>) -> Self {
        let len = src.body.len();
        let ptr = NonNull::new(Box::into_raw(src) as *mut Pair<H, MaybeUninit<T>>).unwrap();
        Self { ptr, len, cap: len }
    }
/// Creates a vector from a boxed `HeaderSlice`.
Creates a vector from a boxed `HeaderSlice`.
Creates a vector from a boxed ` HeaderSlice ` .
pub fn from_box(src: Box<HeaderSlice<H, T>>) -> Self {
        let len = src.body.len();
        let ptr = NonNull::new(Box::into_raw(src) as *mut Pair<H, MaybeUninit<T>>).unwrap();
        Self { ptr, len, cap: len }
    }
pub fn from_box ( src : Box < HeaderSlice < H , T > > ) -> Self { let len = src . body . len ( ) ; let ptr = NonNull :: new ( Box :: into_raw ( src ) as * mut Pair < H , MaybeUninit < T > > ) . unwrap ( ) ; Self { ptr , len , cap : len } }
Creates a vector from a boxed `HeaderSlice`.
Creates a vector from a boxed ` HeaderSlice ` .
src
Box<HeaderSlice<H, T>>