Home
last modified time | relevance | path

Searched refs:UseTree (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/syn/src/gen/
Dclone.rs2146 impl Clone for UseTree { implementation
2149 UseTree::Path(v0) => UseTree::Path(v0.clone()), in clone()
2150 UseTree::Name(v0) => UseTree::Name(v0.clone()), in clone()
2151 UseTree::Rename(v0) => UseTree::Rename(v0.clone()), in clone()
2152 UseTree::Glob(v0) => UseTree::Glob(v0.clone()), in clone()
2153 UseTree::Group(v0) => UseTree::Group(v0.clone()), in clone()
Deq.rs2083 impl Eq for UseTree {} implementation
2086 impl PartialEq for UseTree { implementation
2089 (UseTree::Path(self0), UseTree::Path(other0)) => self0 == other0, in eq()
2090 (UseTree::Name(self0), UseTree::Name(other0)) => self0 == other0, in eq()
2091 (UseTree::Rename(self0), UseTree::Rename(other0)) => self0 == other0, in eq()
2092 (UseTree::Glob(self0), UseTree::Glob(other0)) => self0 == other0, in eq()
2093 (UseTree::Group(self0), UseTree::Group(other0)) => self0 == other0, in eq()
Dfold.rs746 fn fold_use_tree(&mut self, i: UseTree) -> UseTree { in fold_use_tree() argument
3234 pub fn fold_use_tree<F>(f: &mut F, node: UseTree) -> UseTree in fold_use_tree()
3239 UseTree::Path(_binding_0) => UseTree::Path(f.fold_use_path(_binding_0)), in fold_use_tree()
3240 UseTree::Name(_binding_0) => UseTree::Name(f.fold_use_name(_binding_0)), in fold_use_tree()
3241 UseTree::Rename(_binding_0) => UseTree::Rename(f.fold_use_rename(_binding_0)), in fold_use_tree()
3242 UseTree::Glob(_binding_0) => UseTree::Glob(f.fold_use_glob(_binding_0)), in fold_use_tree()
3243 UseTree::Group(_binding_0) => UseTree::Group(f.fold_use_group(_binding_0)), in fold_use_tree()
Dhash.rs2732 impl Hash for UseTree { implementation
2738 UseTree::Path(v0) => { in hash()
2742 UseTree::Name(v0) => { in hash()
2746 UseTree::Rename(v0) => { in hash()
2750 UseTree::Glob(v0) => { in hash()
2754 UseTree::Group(v0) => { in hash()
Dvisit_mut.rs743 fn visit_use_tree_mut(&mut self, i: &mut UseTree) { in visit_use_tree_mut() argument
3665 pub fn visit_use_tree_mut<V>(v: &mut V, node: &mut UseTree) in visit_use_tree_mut()
3670 UseTree::Path(_binding_0) => { in visit_use_tree_mut()
3673 UseTree::Name(_binding_0) => { in visit_use_tree_mut()
3676 UseTree::Rename(_binding_0) => { in visit_use_tree_mut()
3679 UseTree::Glob(_binding_0) => { in visit_use_tree_mut()
3682 UseTree::Group(_binding_0) => { in visit_use_tree_mut()
Ddebug.rs2903 impl Debug for UseTree { implementation
2906 UseTree::Path(v0) => { in fmt()
2911 UseTree::Name(v0) => { in fmt()
2916 UseTree::Rename(v0) => { in fmt()
2921 UseTree::Glob(v0) => { in fmt()
2926 UseTree::Group(v0) => { in fmt()
Dvisit.rs742 fn visit_use_tree(&mut self, i: &'ast UseTree) { in visit_use_tree() argument
3665 pub fn visit_use_tree<'ast, V>(v: &mut V, node: &'ast UseTree) in visit_use_tree()
3670 UseTree::Path(_binding_0) => { in visit_use_tree()
3673 UseTree::Name(_binding_0) => { in visit_use_tree()
3676 UseTree::Rename(_binding_0) => { in visit_use_tree()
3679 UseTree::Glob(_binding_0) => { in visit_use_tree()
3682 UseTree::Group(_binding_0) => { in visit_use_tree()
/third_party/rust/crates/syn/src/
Ditem.rs354 pub tree: UseTree,
478 pub enum UseTree {
504 pub tree: Box<UseTree>,
547 pub items: Punctuated<UseTree, Token![,]>,
1353 impl Parse for UseTree { implementation
1354 fn parse(input: ParseStream) -> Result<UseTree> { in parse() argument
1363 Ok(UseTree::Path(UsePath { in parse()
1369 Ok(UseTree::Rename(UseRename { in parse()
1383 Ok(UseTree::Name(UseName { ident })) in parse()
1386 Ok(UseTree::Glob(UseGlob { in parse()
[all …]
Dlib.rs368 UseGroup, UseName, UsePath, UseRename, UseTree,
/third_party/rust/crates/syn/tests/common/
Deq.rs122 use rustc_ast::ast::UseTree;
463 spanless_eq_struct!(UseTree; prefix kind span);
/third_party/rust/crates/syn/tests/debug/
Dgen.rs5456 impl Debug for Lite<syn::UseTree> {
5460 syn::UseTree::Path(_val) => { in fmt()
5467 syn::UseTree::Name(_val) => { in fmt()
5474 syn::UseTree::Rename(_val) => { in fmt()
5481 syn::UseTree::Glob(_val) => { in fmt()
5488 syn::UseTree::Group(_val) => { in fmt()