/external/rust/crates/pin-project-internal/src/ |
D | pinned_drop.rs | 4 parse_quote, spanned::Spanned, visit_mut::VisitMut, Error, FnArg, GenericArgument, ImplItem, 85 ImplItem::Const(item) => { in validate_impl() 88 ImplItem::Type(item) => { in validate_impl() 91 ImplItem::Method(method) => { in validate_impl() 198 if let ImplItem::Method(method) = &mut item.items[0] { method } else { unreachable!() }; in expand_impl()
|
/external/rust/crates/async-trait/src/ |
D | expand.rs | 10 parse_quote, Attribute, Block, FnArg, GenericParam, Generics, Ident, ImplItem, Lifetime, Pat, 97 if let ImplItem::Type(assoc) = inner { in expand() 109 if let ImplItem::Method(method) = inner { in expand()
|
/external/rust/crates/syn/src/ |
D | item.rs | 196 pub items: Vec<ImplItem>, 791 pub enum ImplItem { 2553 impl Parse for ImplItem { implementation 2570 input.parse().map(ImplItem::Method) in parse() 2580 return Ok(ImplItem::Const(ImplItemConst { in parse() 2594 return Ok(ImplItem::Verbatim(verbatim::between(begin, input))); in parse() 2602 input.call(item_existential).map(ImplItem::Verbatim) in parse() 2611 input.parse().map(ImplItem::Macro) in parse() 2618 ImplItem::Const(item) => &mut item.attrs, in parse() 2619 ImplItem::Method(item) => &mut item.attrs, in parse() [all …]
|
D | lib.rs | 372 ImplItem, ImplItemConst, ImplItemMacro, ImplItemMethod, ImplItemType, Item, ItemConst,
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 952 impl Clone for ImplItem { implementation 955 ImplItem::Const(v0) => ImplItem::Const(v0.clone()), in clone() 956 ImplItem::Method(v0) => ImplItem::Method(v0.clone()), in clone() 957 ImplItem::Type(v0) => ImplItem::Type(v0.clone()), in clone() 958 ImplItem::Macro(v0) => ImplItem::Macro(v0.clone()), in clone() 959 ImplItem::Verbatim(v0) => ImplItem::Verbatim(v0.clone()), in clone()
|
D | eq.rs | 968 impl Eq for ImplItem {} implementation 971 impl PartialEq for ImplItem { implementation 974 (ImplItem::Const(self0), ImplItem::Const(other0)) => self0 == other0, in eq() 975 (ImplItem::Method(self0), ImplItem::Method(other0)) => self0 == other0, in eq() 976 (ImplItem::Type(self0), ImplItem::Type(other0)) => self0 == other0, in eq() 977 (ImplItem::Macro(self0), ImplItem::Macro(other0)) => self0 == other0, in eq() 978 (ImplItem::Verbatim(self0), ImplItem::Verbatim(other0)) => { in eq()
|
D | fold.rs | 335 fn fold_impl_item(&mut self, i: ImplItem) -> ImplItem { in fold_impl_item() argument 1779 pub fn fold_impl_item<F>(f: &mut F, node: ImplItem) -> ImplItem in fold_impl_item() 1784 ImplItem::Const(_binding_0) => ImplItem::Const(f.fold_impl_item_const(_binding_0)), in fold_impl_item() 1785 ImplItem::Method(_binding_0) => ImplItem::Method(f.fold_impl_item_method(_binding_0)), in fold_impl_item() 1786 ImplItem::Type(_binding_0) => ImplItem::Type(f.fold_impl_item_type(_binding_0)), in fold_impl_item() 1787 ImplItem::Macro(_binding_0) => ImplItem::Macro(f.fold_impl_item_macro(_binding_0)), in fold_impl_item() 1788 ImplItem::Verbatim(_binding_0) => ImplItem::Verbatim(_binding_0), in fold_impl_item()
|
D | hash.rs | 1257 impl Hash for ImplItem { implementation 1263 ImplItem::Const(v0) => { in hash() 1267 ImplItem::Method(v0) => { in hash() 1271 ImplItem::Type(v0) => { in hash() 1275 ImplItem::Macro(v0) => { in hash() 1279 ImplItem::Verbatim(v0) => { in hash()
|
D | visit_mut.rs | 338 fn visit_impl_item_mut(&mut self, i: &mut ImplItem) { in visit_impl_item_mut() argument 2045 pub fn visit_impl_item_mut<V>(v: &mut V, node: &mut ImplItem) in visit_impl_item_mut() 2050 ImplItem::Const(_binding_0) => { in visit_impl_item_mut() 2053 ImplItem::Method(_binding_0) => { in visit_impl_item_mut() 2056 ImplItem::Type(_binding_0) => { in visit_impl_item_mut() 2059 ImplItem::Macro(_binding_0) => { in visit_impl_item_mut() 2062 ImplItem::Verbatim(_binding_0) => { in visit_impl_item_mut()
|
D | debug.rs | 1342 impl Debug for ImplItem { implementation 1345 ImplItem::Const(v0) => { in fmt() 1350 ImplItem::Method(v0) => { in fmt() 1355 ImplItem::Type(v0) => { in fmt() 1360 ImplItem::Macro(v0) => { in fmt() 1365 ImplItem::Verbatim(v0) => { in fmt()
|
D | visit.rs | 334 fn visit_impl_item(&mut self, i: &'ast ImplItem) { in visit_impl_item() argument 2039 pub fn visit_impl_item<'ast, V>(v: &mut V, node: &'ast ImplItem) in visit_impl_item() 2044 ImplItem::Const(_binding_0) => { in visit_impl_item() 2047 ImplItem::Method(_binding_0) => { in visit_impl_item() 2050 ImplItem::Type(_binding_0) => { in visit_impl_item() 2053 ImplItem::Macro(_binding_0) => { in visit_impl_item() 2056 ImplItem::Verbatim(_binding_0) => { in visit_impl_item()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 2341 impl Debug for Lite<syn::ImplItem> { 2345 syn::ImplItem::Const(_val) => { in fmt() 2368 syn::ImplItem::Method(_val) => { in fmt() 2390 syn::ImplItem::Type(_val) => { in fmt() 2413 syn::ImplItem::Macro(_val) => { in fmt() 2433 syn::ImplItem::Verbatim(_val) => { in fmt()
|