[−][src]Function qt_core::q_count_leading_zero_bits_u32
pub unsafe fn q_count_leading_zero_bits_u32(v: u32) -> c_uint
Returns the number of consecutive zero bits in v, when searching from the MSB. For example, qCountLeadingZeroBits(quint32(1)) returns 31 and qCountLeadingZeroBits(quint32(8)) returns 28.
Calls C++ function: unsigned int qCountLeadingZeroBits(quint32 v)
.
Returns the number of consecutive zero bits in v, when searching from the MSB. For example, qCountLeadingZeroBits(quint32(1)) returns 31 and qCountLeadingZeroBits(quint32(8)) returns 28.
This function was introduced in Qt 5.6.