pub unsafe fn from_ptr(ptr: P) -> Self {
        Self {
            data: ptr,
            phantom: PhantomData,
        }
    }
/// Construct an instance of this struct from an instance of the pointer type
/// `P`.
Construct an instance of this struct from an instance of the pointer type
`P`.
Construct an instance of this struct from an instance of the pointer type ` P ` .
pub unsafe fn from_ptr(ptr: P) -> Self {
        Self {
            data: ptr,
            phantom: PhantomData,
        }
    }
pub unsafe fn from_ptr ( ptr : P ) -> Self { Self { data : ptr , phantom : PhantomData , } }
Construct an instance of this struct from an instance of the pointer type
`P`.
Construct an instance of this struct from an instance of the pointer type ` P ` .
ptr
P