Function _lzcnt_u32

#[target_feature(enable = "lzcnt")]
pub const fn _lzcnt_u32(x: u32) -> u32

Counts the leading most significant zero bits.

When the operand is zero, it returns its size in bits.

Intel's documentation