clz

Function clz 

Source
pub fn clz<T: Clz>(n: T) -> usize
Expand description

Counts the number of zero bits preceding the most significant one bit.

ยงExamples

assert_eq!(6, sffs::clz(0b00000010u8));