pub(crate) fn from_option<U: PSafe>(p: Option<Self>) -> Ptr<U, A> {
        if let Some(p) = p {
            Ptr {
                off: p.off,
                marker: PhantomData,
            }
        } else {
            Ptr::<U, A>::dangling()
        }
    }
/// Instantiates a `Ptr` pointer. It is dangling if input is None.
Instantiates a `Ptr` pointer. It is dangling if input is None.
Instantiates a ` Ptr ` pointer . It is dangling if input is None .
pub(crate) fn from_option<U: PSafe>(p: Option<Self>) -> Ptr<U, A> {
        if let Some(p) = p {
            Ptr {
                off: p.off,
                marker: PhantomData,
            }
        } else {
            Ptr::<U, A>::dangling()
        }
    }
pub ( crate ) fn from_option < U : PSafe > ( p : Option < Self > ) -> Ptr < U , A > { if let Some ( p ) = p { Ptr { off : p . off , marker : PhantomData , } } else { Ptr :: < U , A > :: dangling ( ) } }
Instantiates a `Ptr` pointer.
Instantiates a ` Ptr ` pointer .
p
Option<Self>