IsPowerOf2

Trait IsPowerOf2 

Source
pub trait IsPowerOf2 { }

Implementors§

Source§

impl<const N: u8> IsPowerOf2 for bit_bounds::u8::Int<N>
where Assert<{ _ }>: IsTrue,

Source§

impl<const N: u16> IsPowerOf2 for bit_bounds::u16::Int<N>
where Assert<{ _ }>: IsTrue,

Source§

impl<const N: u32> IsPowerOf2 for bit_bounds::u32::Int<N>
where Assert<{ _ }>: IsTrue,

Source§

impl<const N: u64> IsPowerOf2 for bit_bounds::u64::Int<N>
where Assert<{ _ }>: IsTrue,

Source§

impl<const N: u128> IsPowerOf2 for bit_bounds::u128::Int<N>
where Assert<{ _ }>: IsTrue,

Source§

impl<const N: usize> IsPowerOf2 for bit_bounds::usize::Int<N>
where Assert<{ _ }>: IsTrue,