Function tagptr::assert_alignment[][src]

pub fn assert_alignment<T, const N: usize>()
Expand description

Asserts that the alignment of U is large enough so a pointer to an instance may store N tag bits.

Panics

This function panics if the alignment of U is insufficient for storing N tag bits.