Module bits
Available on crate feature
dep_sdl3
only.Expand description
Functions for fiddling with bits and bitmasks.
Functions§
- SDL_
HasExactly OneBit Set32 - Determine if a unsigned 32-bit value has exactly one bit set.
- SDL_
Most Significant BitIndex32 - Get the index of the most significant (set) bit in a 32-bit number.