Home
last modified time | relevance | path

Searched defs:generics (Results 1 – 24 of 24) sorted by relevance

/third_party/rust/crates/cxx/macro/src/
Dderive.rs99 let generics = &strct.generics; in struct_copy() localVariable
108 let generics = &strct.generics; in struct_clone() localVariable
137 let generics = &strct.generics; in struct_debug() localVariable
155 let generics = &strct.generics; in struct_default() localVariable
174 let generics = &strct.generics; in struct_ord() localVariable
194 let generics = &strct.generics; in struct_partial_ord() localVariable
Dexpand.rs158 let generics = &strct.generics; in expand_struct() localVariable
200 let generics = &strct.generics; in expand_struct_operators() localVariable
307 let generics = &strct.generics; in expand_struct_forbid_drop() localVariable
378 let generics = &ety.generics; in expand_cxx_type() localVariable
451 let generics = &efn.generics; in expand_cxx_function_decl() localVariable
728 let generics = &efn.generics; in expand_cxx_function_shim() localVariable
829 let generics = &ety.generics; in expand_rust_type_impl() localVariable
965 let generics = outer_generics.unwrap_or(&sig.generics); in expand_rust_function_shim_impl() localVariable
1156 let generics = &sig.generics; in expand_rust_function_shim_super() localVariable
1208 let generics = &alias.generics; in expand_type_alias() localVariable
Dlib.rs36 mod generics; module
Dgenerics.rs66 generics: &'a Lifetimes, field
/third_party/rust/crates/serde/serde_derive/src/
Dbound.rs36 let mut generics = generics.clone(); in with_where_predicates() localVariable
55 let mut generics = generics.clone(); in with_where_predicates_from_fields() localVariable
77 let mut generics = generics.clone(); in with_where_predicates_from_variants() localVariable
302 let mut generics = generics.clone(); in with_bound() localVariable
315 let mut generics = generics.clone(); in with_self_bound() localVariable
Dde.rs119 generics: syn::Generics, field
141 let generics = build_generics(cont, &borrowed); in new() localVariable
166 let generics = bound::without_defaults(cont.generics); in build_generics() localVariable
168 let generics = bound::with_where_predicates_from_fields(cont, &generics, attr::Field::de_bound); in build_generics() localVariable
170 let generics = in build_generics() localVariable
176 let generics = match *cont.attrs.default() { in build_generics() localVariable
186 let generics = bound::with_bound( in build_generics() localVariable
2999 let mut generics = self.0.generics.clone(); in to_tokens() localVariable
3015 let mut generics = self.0.generics.clone(); in to_tokens() localVariable
3059 let mut generics = self.0.generics.clone(); in to_tokens() localVariable
[all …]
Dser.rs90 generics: syn::Generics, field
115 let generics = build_generics(cont); in new() localVariable
136 let generics = bound::without_defaults(cont.generics); in build_generics() localVariable
138 let generics = in build_generics() localVariable
141 let generics = in build_generics() localVariable
/third_party/rust/crates/syn/src/
Dderive.rs105 let generics = input.parse::<Generics>()?; in parse() localVariable
124 let generics = input.parse::<Generics>()?; in parse() localVariable
143 let generics = input.parse::<Generics>()?; in parse() localVariable
Ditem.rs1159 generics: Generics, field
1182 let mut generics: Generics = input.parse()?; in parse() localVariable
1509 let mut generics: Generics = input.parse()?; in parse() localVariable
1930 let mut generics: Generics = input.parse()?; in parse() localVariable
1978 let generics = input.parse::<Generics>()?; in parse() localVariable
2002 let generics = input.parse::<Generics>()?; in parse() localVariable
2026 let generics = input.parse::<Generics>()?; in parse() localVariable
2079 let generics: Generics = input.parse()?; in parse() localVariable
2159 let generics: Generics = input.parse()?; in parse_start_of_trait_alias() localVariable
2325 let mut generics: Generics = input.parse()?; in parse() localVariable
[all …]
Dlib.rs349 mod generics; module
/third_party/rust/crates/syn/examples/heapsize/heapsize_derive/src/
Dlib.rs17 let generics = add_trait_bounds(input.generics); in derive_heap_size() localVariable
/third_party/rust/crates/cxx/syntax/
Dparse.rs169 let generics = Lifetimes { in parse_struct() localVariable
219 let generics = &item.generics; in parse_enum() localVariable
257 let generics = Lifetimes { in parse_enum() localVariable
492 let generics = Lifetimes { in parse_extern_type() localVariable
549 let generics = &foreign_fn.sig.generics; in parse_extern_fn() localVariable
677 let generics = generics.clone(); in parse_extern_fn() localVariable
758 let generics: Generics = input.parse()?; in parse_extern_verbatim_type() localVariable
1421 let generics = Generics::default(); in parse_type_fn() localVariable
Dnames.rs28 let generics = Lifetimes { in new() localVariable
Dresolve.rs8 pub generics: &'a Lifetimes, field
Dmod.rs89 pub generics: Lifetimes, field
104 pub generics: Lifetimes, field
117 pub generics: Lifetimes, field
157 pub generics: Lifetimes, field
185 pub generics: Generics, field
305 pub generics: Lifetimes, field
Dcheck.rs694 let generics = &efn.generics; in span_for_generics_error() localVariable
/third_party/rust/crates/syn/tests/
Dtest_generics.rs102 let generics = input.generics; in test_split_for_impl() localVariable
/third_party/mesa3d/src/intel/compiler/
Dbrw_vue_map.c198 uint64_t generics = slots_valid & ~BITFIELD64_MASK(VARYING_SLOT_VAR0); in brw_compute_vue_map() local
/third_party/python/Doc/library/
Dtyping.rst230 .. _generics: target in Callable
/third_party/rust/crates/tracing/tracing-attributes/tests/
Dinstrument.rs157 fn generics() { in generics() function
/third_party/rust/crates/serde/serde_derive/src/internals/
Dast.rs19 pub generics: &'a syn::Generics, field
/third_party/rust/crates/quote/tests/
Dtest.rs109 let generics = quote!( <'a, T> ); in test_advanced() localVariable
/third_party/rust/crates/syn/
Dsyn.json557 "generics": { object
2502 "generics": { object
2694 "generics": { object
2830 "generics": { object
3033 "generics": { object
3078 "generics": { object
3126 "generics": { object
3167 "generics": { object
3205 "generics": { object
4410 "generics": { object
[all …]
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs2057 let generics = if !generic_param_names.is_empty() { in codegen() localVariable