pleco::core
pub fn rank_idx_of_sq(s: u8) -> u8
For whatever rank the bit (inner value of a SQ) is, returns the corresponding Rank index.
SQ
Rank