/external/rust/crates/syn/src/ |
D | item.rs | 294 pub items: Vec<TraitItem>, 678 pub enum TraitItem { 2239 impl Parse for TraitItem { implementation 2249 input.parse().map(TraitItem::Method) in parse() 2254 input.parse().map(TraitItem::Const) in parse() 2260 input.parse().map(TraitItem::Method) in parse() 2272 input.parse().map(TraitItem::Macro) in parse() 2279 _ => return Ok(TraitItem::Verbatim(verbatim::between(begin, input))), in parse() 2283 TraitItem::Const(item) => &mut item.attrs, in parse() 2284 TraitItem::Method(item) => &mut item.attrs, in parse() [all …]
|
D | lib.rs | 375 Signature, TraitItem, TraitItemConst, TraitItemMacro, TraitItemMethod, TraitItemType, UseGlob,
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 1814 impl Clone for TraitItem { implementation 1817 TraitItem::Const(v0) => TraitItem::Const(v0.clone()), in clone() 1818 TraitItem::Method(v0) => TraitItem::Method(v0.clone()), in clone() 1819 TraitItem::Type(v0) => TraitItem::Type(v0.clone()), in clone() 1820 TraitItem::Macro(v0) => TraitItem::Macro(v0.clone()), in clone() 1821 TraitItem::Verbatim(v0) => TraitItem::Verbatim(v0.clone()), in clone()
|
D | eq.rs | 1838 impl Eq for TraitItem {} implementation 1841 impl PartialEq for TraitItem { implementation 1844 (TraitItem::Const(self0), TraitItem::Const(other0)) => self0 == other0, in eq() 1845 (TraitItem::Method(self0), TraitItem::Method(other0)) => self0 == other0, in eq() 1846 (TraitItem::Type(self0), TraitItem::Type(other0)) => self0 == other0, in eq() 1847 (TraitItem::Macro(self0), TraitItem::Macro(other0)) => self0 == other0, in eq() 1848 (TraitItem::Verbatim(self0), TraitItem::Verbatim(other0)) => { in eq()
|
D | fold.rs | 628 fn fold_trait_item(&mut self, i: TraitItem) -> TraitItem { in fold_trait_item() argument 2766 pub fn fold_trait_item<F>(f: &mut F, node: TraitItem) -> TraitItem in fold_trait_item() 2771 TraitItem::Const(_binding_0) => TraitItem::Const(f.fold_trait_item_const(_binding_0)), in fold_trait_item() 2772 TraitItem::Method(_binding_0) => TraitItem::Method(f.fold_trait_item_method(_binding_0)), in fold_trait_item() 2773 TraitItem::Type(_binding_0) => TraitItem::Type(f.fold_trait_item_type(_binding_0)), in fold_trait_item() 2774 TraitItem::Macro(_binding_0) => TraitItem::Macro(f.fold_trait_item_macro(_binding_0)), in fold_trait_item() 2775 TraitItem::Verbatim(_binding_0) => TraitItem::Verbatim(_binding_0), in fold_trait_item()
|
D | hash.rs | 2316 impl Hash for TraitItem { implementation 2322 TraitItem::Const(v0) => { in hash() 2326 TraitItem::Method(v0) => { in hash() 2330 TraitItem::Type(v0) => { in hash() 2334 TraitItem::Macro(v0) => { in hash() 2338 TraitItem::Verbatim(v0) => { in hash()
|
D | visit_mut.rs | 628 fn visit_trait_item_mut(&mut self, i: &mut TraitItem) { in visit_trait_item_mut() argument 3240 pub fn visit_trait_item_mut<V>(v: &mut V, node: &mut TraitItem) in visit_trait_item_mut() 3245 TraitItem::Const(_binding_0) => { in visit_trait_item_mut() 3248 TraitItem::Method(_binding_0) => { in visit_trait_item_mut() 3251 TraitItem::Type(_binding_0) => { in visit_trait_item_mut() 3254 TraitItem::Macro(_binding_0) => { in visit_trait_item_mut() 3257 TraitItem::Verbatim(_binding_0) => { in visit_trait_item_mut()
|
D | debug.rs | 2470 impl Debug for TraitItem { implementation 2473 TraitItem::Const(v0) => { in fmt() 2478 TraitItem::Method(v0) => { in fmt() 2483 TraitItem::Type(v0) => { in fmt() 2488 TraitItem::Macro(v0) => { in fmt() 2493 TraitItem::Verbatim(v0) => { in fmt()
|
D | visit.rs | 624 fn visit_trait_item(&mut self, i: &'ast TraitItem) { in visit_trait_item() argument 3234 pub fn visit_trait_item<'ast, V>(v: &mut V, node: &'ast TraitItem) in visit_trait_item() 3239 TraitItem::Const(_binding_0) => { in visit_trait_item() 3242 TraitItem::Method(_binding_0) => { in visit_trait_item() 3245 TraitItem::Type(_binding_0) => { in visit_trait_item() 3248 TraitItem::Macro(_binding_0) => { in visit_trait_item() 3251 TraitItem::Verbatim(_binding_0) => { in visit_trait_item()
|
/external/rust/crates/async-trait/src/ |
D | expand.rs | 11 PatIdent, Receiver, ReturnType, Signature, Stmt, Token, TraitItem, Type, TypeParamBound, 68 if let TraitItem::Method(method) = inner { in expand()
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 4562 impl Debug for Lite<syn::TraitItem> { 4566 syn::TraitItem::Const(_val) => { in fmt() 4591 syn::TraitItem::Method(_val) => { in fmt() 4627 syn::TraitItem::Type(_val) => { in fmt() 4667 syn::TraitItem::Macro(_val) => { in fmt() 4687 syn::TraitItem::Verbatim(_val) => { in fmt()
|