[−][src]Function qt_core::q_next_power_of_two_u32
pub unsafe fn q_next_power_of_two_u32(v: u32) -> u32
This function returns the nearest power of two greater than value. For 0 it returns 1, and for values larger than or equal to 2^31 it returns 0.
Calls C++ function: quint32 qNextPowerOfTwo(quint32 v)
.
This function returns the nearest power of two greater than value. For 0 it returns 1, and for values larger than or equal to 2^31 it returns 0.
This function was introduced in Qt 5.4.