{"ast_node_type":"function","tokens":[{"end":47,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn variants(&self) -> Vec<VariantDef> {
    /// Retrieve the variants in this ADT.
        self.variants_iter().collect()