dangling_nonnull

Function dangling_nonnull 

Source
pub const unsafe fn dangling_nonnull(align: usize) -> NonNull<u8>
Expand description

Returns a NonNull which has the given alignment as its address.

ยงSafety

Callers must ensure the alignment is a valid power of two.