Home
last modified time | relevance | path

Searched defs:Generics (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs11 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/
Dty.rs46 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/
Dtest_self.rs12 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/
Dgenerics.rs127 pub struct Generics { struct
143 impl<'tcx> Generics { argument
/third_party/typescript/tests/baselines/reference/
DassignmentCompatWithStringIndexer3.js32 var Generics; variable
33 (function (Generics) { argument
DassignmentCompatWithNumericIndexer2.js55 var Generics; variable
56 (function (Generics) { argument
DassignmentCompatWithStringIndexer2.js65 var Generics; variable
66 (function (Generics) { argument
DsubtypingWithNumericIndexer5.js58 var Generics; variable
59 (function (Generics) { argument
DsubtypingWithNumericIndexer4.js59 var Generics; variable
60 (function (Generics) { argument
DsubtypingWithStringIndexer4.js59 var Generics; variable
60 (function (Generics) { argument
DassignmentCompatWithNumericIndexer3.js79 var Generics; variable
80 (function (Generics) { argument
DassignmentCompatWithNumericIndexer.js75 var Generics; variable
76 (function (Generics) { argument
DsubtypingWithStringIndexer.js79 var Generics; variable
80 (function (Generics) { argument
DsubtypingWithNumericIndexer.js78 var Generics; variable
79 (function (Generics) { argument
DsubtypingWithStringIndexer3.js82 var Generics; variable
83 (function (Generics) { argument
DassignmentCompatWithStringIndexer.js85 var Generics; variable
86 (function (Generics) { argument
DsubtypingWithNumericIndexer3.js82 var Generics; variable
83 (function (Generics) { argument
/third_party/rust/crates/clap/clap_derive/src/derives/
Dinto_app.rs24 generics: &Generics, in gen_for_struct()
64 generics: &Generics, in gen_for_enum()
Dparser.rs86 generics: &Generics, in gen_for_struct()
105 generics: &Generics, in gen_for_enum()
/third_party/rust/rust/compiler/rustc_parse/src/parser/
Dpath.rs159 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/
Dutils.rs183 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/
Ditem.rs102 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/
Dgenerics.rs381 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/
Dlib.rs37 fn add_trait_bounds(mut generics: Generics) -> Generics { in add_trait_bounds()
/third_party/rust/crates/syn/src/
Dgenerics.rs88 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

1234