bevy_ptr

Function dangling_with_align

Source
pub fn dangling_with_align(align: NonZeroUsize) -> NonNull<u8>
Expand description

Creates a dangling pointer with specified alignment. See NonNull::dangling.