Home
last modified time | relevance | path

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

/external/rust/crates/syn/src/gen/
Dclone.rs2139 impl Clone for UseTree { implementation
2142 UseTree::Path(v0) => UseTree::Path(v0.clone()), in clone()
2143 UseTree::Name(v0) => UseTree::Name(v0.clone()), in clone()
2144 UseTree::Rename(v0) => UseTree::Rename(v0.clone()), in clone()
2145 UseTree::Glob(v0) => UseTree::Glob(v0.clone()), in clone()
2146 UseTree::Group(v0) => UseTree::Group(v0.clone()), in clone()
Deq.rs2180 impl Eq for UseTree {} implementation
2183 impl PartialEq for UseTree { implementation
2186 (UseTree::Path(self0), UseTree::Path(other0)) => self0 == other0, in eq()
2187 (UseTree::Name(self0), UseTree::Name(other0)) => self0 == other0, in eq()
2188 (UseTree::Rename(self0), UseTree::Rename(other0)) => self0 == other0, in eq()
2189 (UseTree::Glob(self0), UseTree::Glob(other0)) => self0 == other0, in eq()
2190 (UseTree::Group(self0), UseTree::Group(other0)) => self0 == other0, in eq()
Dfold.rs740 fn fold_use_tree(&mut self, i: UseTree) -> UseTree { in fold_use_tree() argument
3104 pub fn fold_use_tree<F>(f: &mut F, node: UseTree) -> UseTree in fold_use_tree()
3109 UseTree::Path(_binding_0) => UseTree::Path(f.fold_use_path(_binding_0)), in fold_use_tree()
3110 UseTree::Name(_binding_0) => UseTree::Name(f.fold_use_name(_binding_0)), in fold_use_tree()
3111 UseTree::Rename(_binding_0) => UseTree::Rename(f.fold_use_rename(_binding_0)), in fold_use_tree()
3112 UseTree::Glob(_binding_0) => UseTree::Glob(f.fold_use_glob(_binding_0)), in fold_use_tree()
3113 UseTree::Group(_binding_0) => UseTree::Group(f.fold_use_group(_binding_0)), in fold_use_tree()
Dhash.rs2728 impl Hash for UseTree { implementation
2734 UseTree::Path(v0) => { in hash()
2738 UseTree::Name(v0) => { in hash()
2742 UseTree::Rename(v0) => { in hash()
2746 UseTree::Glob(v0) => { in hash()
2750 UseTree::Group(v0) => { in hash()
Dvisit_mut.rs740 fn visit_use_tree_mut(&mut self, i: &mut UseTree) { in visit_use_tree_mut() argument
3660 pub fn visit_use_tree_mut<V>(v: &mut V, node: &mut UseTree) in visit_use_tree_mut()
3665 UseTree::Path(_binding_0) => { in visit_use_tree_mut()
3668 UseTree::Name(_binding_0) => { in visit_use_tree_mut()
3671 UseTree::Rename(_binding_0) => { in visit_use_tree_mut()
3674 UseTree::Glob(_binding_0) => { in visit_use_tree_mut()
3677 UseTree::Group(_binding_0) => { in visit_use_tree_mut()
Ddebug.rs2896 impl Debug for UseTree { implementation
2899 UseTree::Path(v0) => { in fmt()
2904 UseTree::Name(v0) => { in fmt()
2909 UseTree::Rename(v0) => { in fmt()
2914 UseTree::Glob(v0) => { in fmt()
2919 UseTree::Group(v0) => { in fmt()
Dvisit.rs736 fn visit_use_tree(&mut self, i: &'ast UseTree) { in visit_use_tree() argument
3654 pub fn visit_use_tree<'ast, V>(v: &mut V, node: &'ast UseTree) in visit_use_tree()
3659 UseTree::Path(_binding_0) => { in visit_use_tree()
3662 UseTree::Name(_binding_0) => { in visit_use_tree()
3665 UseTree::Rename(_binding_0) => { in visit_use_tree()
3668 UseTree::Glob(_binding_0) => { in visit_use_tree()
3671 UseTree::Group(_binding_0) => { in visit_use_tree()
/external/rust/crates/syn/src/
Ditem.rs357 pub tree: UseTree,
483 pub enum UseTree {
509 pub tree: Box<UseTree>,
552 pub items: Punctuated<UseTree, Token![,]>,
1342 impl Parse for UseTree { implementation
1343 fn parse(input: ParseStream) -> Result<UseTree> { in parse() argument
1352 Ok(UseTree::Path(UsePath { in parse()
1358 Ok(UseTree::Rename(UseRename { in parse()
1372 Ok(UseTree::Name(UseName { ident })) in parse()
1375 Ok(UseTree::Glob(UseGlob { in parse()
[all …]
Dlib.rs376 UseGroup, UseName, UsePath, UseRename, UseTree,
/external/rust/crates/syn/tests/common/
Deq.rs19 UnOp, Unsafe, UnsafeSource, UseTree, UseTreeKind, Variant, VariantData, Visibility,
333 spanless_eq_struct!(UseTree; prefix kind span);
/external/rust/crates/syn/tests/debug/
Dgen.rs5461 impl Debug for Lite<syn::UseTree> {
5465 syn::UseTree::Path(_val) => { in fmt()
5472 syn::UseTree::Name(_val) => { in fmt()
5479 syn::UseTree::Rename(_val) => { in fmt()
5486 syn::UseTree::Glob(_val) => { in fmt()
5493 syn::UseTree::Group(_val) => { in fmt()