{"ast_node_type":"function","tokens":[{"end":69,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn variants_iter(&self) -> impl Iterator<Item = VariantDef> {
    /// Iterate over the variants in this ADT.
        (0..self.num_variants())