syntax_data: {"ast_node_type":"function","tokens":[{"end":47,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn filter_only_self(mut self) -> Self {
context_before:     /// that have `Self` as their self type, instead of all implied predicates.
context_after:         self.mode = Filter::OnlySelf;