Function bitrange_plugin::proc_offset [] [src]

pub fn proc_offset(input: TokenStream) -> TokenStream

Return the offset of a given character in a format This is the amount of least-significant bits in the proc_mask that are 0

usage: proc_offset([aaa0_1bbb], a); output: 5 (0b1110_0000 has 5 least-significant bits that are 0)