pub const fn for_non_null<A: ?Sized>() -> SameLayout<*const A, NonNull<A>>Expand description
A proof that a non-null pointer has the same layout as a raw pointer.
pub const fn for_non_null<A: ?Sized>() -> SameLayout<*const A, NonNull<A>>A proof that a non-null pointer has the same layout as a raw pointer.