{"ast_node_type":"function","tokens":[{"end":56,"kind":"keyword","start":0,"text":"fn"}]}
    fn get_traits(self) -> impl Iterator<Item = DefId> {
    /// Decodes all traits in the crate (for rustdoc and rustc diagnostics).
        self.root.traits.decode(self).map(move |index| self.local_def_id(index))