tagptr

Function has_sufficient_alignment

source
pub const fn has_sufficient_alignment<T>(tag_bits: usize) -> bool
Expand description

Returns true if the alignment of T is large enough so a pointer to an instance may store the given number of tag_bits.