assert_pow2

Function assert_pow2 

Source
pub fn assert_pow2<U: Unsigned>(v: U)
Expand description

Assert that the given value is a power of 2.