pub unsafe fn q_population_count_u8(v: u8) -> c_uint
Expand description

Returns the number of bits set in v. This number is also called the Hamming Weight of v.

Calls C++ function: unsigned int qPopulationCount(quint8 v).

C++ documentation:

Returns the number of bits set in v. This number is also called the Hamming Weight of v.

This function was introduced in Qt 5.2.