Function foyer_common::bits::assert_pow2
source ยท pub fn assert_pow2<U: Unsigned>(v: U)Expand description
Assert that the given value is a power of 2.
pub fn assert_pow2<U: Unsigned>(v: U)Assert that the given value is a power of 2.