debug_assert_aligned

Function debug_assert_aligned 

Source
pub fn debug_assert_aligned<U: Unsigned>(align: U, v: U)
Expand description

Debug assert that the given value is aligned with the given align.

Note: The given align must be a power of 2.