Skip to main content

three_di_char

Function three_di_char 

Source
pub fn three_di_char(id: u32) -> Option<char>
Expand description

The 3Di state character for a token id, or None if the id is not one.

Used to decode a generated sequence; ids outside 128..=147 (specials, and the amino-acid range) return None so a caller can tell “not a 3Di state” from “some state”.