Designed to be similar to twiddle, but also works in const contexts. (Created for use in my gba emulator)
twiddle
const
Supports #![no_std] by default
#![no_std]