| /third_party/rust/crates/serde/serde_derive/src/ |
| D | bound.rs | 11 pub fn without_defaults(generics: &syn::Generics) -> syn::Generics { in without_defaults() 30 generics: &syn::Generics, in with_where_predicates() 32 ) -> syn::Generics { in with_where_predicates() 43 generics: &syn::Generics, in with_where_predicates_from_fields() 45 ) -> syn::Generics { in with_where_predicates_from_fields() 59 generics: &syn::Generics, in with_where_predicates_from_variants() 61 ) -> syn::Generics { in with_where_predicates_from_variants() 93 generics: &syn::Generics, in with_bound() 96 ) -> syn::Generics { in with_bound() 312 generics: &syn::Generics, in with_self_bound() [all …]
|
| /third_party/rust/rust/compiler/rustc_builtin_macros/src/deriving/generic/ |
| D | ty.rs | 46 self_generics: &Generics, in to_ty() 55 self_generics: &Generics, in to_path() 96 self_generics: &Generics, in to_ty() 117 generics: &Generics, in to_path() 152 self_generics: &Generics, in mk_ty_param() 179 self_generics: &Generics, in to_generics() 180 ) -> Generics { in to_generics()
|
| /third_party/rust/crates/serde/test_suite/tests/ |
| D | test_self.rs | 12 pub struct Generics<T: Trait<Assoc = Self>> in test_self() struct 17 _f: T, in test_self() 20 impl<T: Trait<Assoc = Self>> Trait for Generics<T> { in test_self() implementation
|
| /third_party/rust/rust/compiler/rustc_middle/src/ty/ |
| D | generics.rs | 127 pub struct Generics { struct 143 impl<'tcx> Generics { argument
|
| /third_party/typescript/tests/baselines/reference/ |
| D | assignmentCompatWithStringIndexer3.js | 32 var Generics; variable 33 (function (Generics) { argument
|
| D | assignmentCompatWithNumericIndexer2.js | 55 var Generics; variable 56 (function (Generics) { argument
|
| D | assignmentCompatWithStringIndexer2.js | 65 var Generics; variable 66 (function (Generics) { argument
|
| D | subtypingWithNumericIndexer5.js | 58 var Generics; variable 59 (function (Generics) { argument
|
| D | subtypingWithNumericIndexer4.js | 59 var Generics; variable 60 (function (Generics) { argument
|
| D | subtypingWithStringIndexer4.js | 59 var Generics; variable 60 (function (Generics) { argument
|
| D | assignmentCompatWithNumericIndexer3.js | 79 var Generics; variable 80 (function (Generics) { argument
|
| D | assignmentCompatWithNumericIndexer.js | 75 var Generics; variable 76 (function (Generics) { argument
|
| D | subtypingWithStringIndexer.js | 79 var Generics; variable 80 (function (Generics) { argument
|
| D | subtypingWithNumericIndexer.js | 78 var Generics; variable 79 (function (Generics) { argument
|
| D | subtypingWithStringIndexer3.js | 82 var Generics; variable 83 (function (Generics) { argument
|
| D | assignmentCompatWithStringIndexer.js | 85 var Generics; variable 86 (function (Generics) { argument
|
| D | subtypingWithNumericIndexer3.js | 82 var Generics; variable 83 (function (Generics) { argument
|
| /third_party/rust/crates/clap/clap_derive/src/derives/ |
| D | into_app.rs | 24 generics: &Generics, in gen_for_struct() 64 generics: &Generics, in gen_for_enum()
|
| D | parser.rs | 86 generics: &Generics, in gen_for_struct() 105 generics: &Generics, in gen_for_enum()
|
| /third_party/rust/rust/compiler/rustc_parse/src/parser/ |
| D | path.rs | 159 ty_generics: Option<&Generics>, in parse_path_inner() 212 ty_generics: Option<&Generics>, in parse_path_segments() 269 ty_generics: Option<&Generics>, in parse_path_segment() 415 ty_generics: Option<&Generics>, in parse_angle_args_with_leading_angle_bracket_recovery() 542 ty_generics: Option<&Generics>, in parse_angle_args() 581 ty_generics: Option<&Generics>, in parse_angle_arg() 738 ty_generics: Option<&Generics>, in parse_generic_arg()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/ |
| D | utils.rs | 183 pub(crate) fn generics(db: &dyn DefDatabase, def: GenericDefId) -> Generics { in generics() 220 pub(crate) struct Generics { struct 223 parent_generics: Option<Box<Generics>>, argument 226 impl Generics { implementation 315 pub(crate) fn parent_generics(&self) -> Option<&Generics> { in parent_generics()
|
| /third_party/rust/rust/compiler/rustc_ast_pretty/src/pprust/state/ |
| D | item.rs | 102 generics: &ast::Generics, in print_associated_type() 387 generics: &ast::Generics, in print_enum_def() 463 generics: &ast::Generics, in print_struct() 554 generics: &ast::Generics, in print_fn_full() 579 generics: &ast::Generics, in print_fn()
|
| /third_party/rust/rust/compiler/rustc_hir_analysis/src/astconv/ |
| D | generics.rs | 381 generics: &ty::Generics, in check_generic_arg_count_for_call() 414 gen_params: &ty::Generics, in check_generic_arg_count() 595 def: &ty::Generics, in prohibit_explicit_late_bound_lifetimes()
|
| /third_party/rust/crates/syn/examples/heapsize/heapsize_derive/src/ |
| D | lib.rs | 37 fn add_trait_bounds(mut generics: Generics) -> Generics { in add_trait_bounds()
|
| /third_party/rust/crates/syn/src/ |
| D | generics.rs | 88 impl Default for Generics { implementation 99 impl Generics { impl 308 impl Generics { impl 539 impl Parse for Generics { implementation 981 impl ToTokens for Generics { implementation
|