pub fn inspect_record_id_enum<R>(node: &Node, name: &str)where R: IdEnum + IntoEnumIterator + Display,
Record the mapping of IdEnum’s ids to variants in Inspect.
IdEnum