/external/rust/crates/pin-project-lite/src/ |
D | lib.rs | 322 [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?] 331 [$($ty_generics)*] [$(where $($where_clause)*)?] 341 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 350 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 359 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 370 [$($ty_generics)*] [$(where $($where_clause)*)?] 387 [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?] 408 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 420 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 429 impl <$($impl_generics)*> $ident <$($ty_generics)*> [all …]
|
/external/rust/crates/serde_derive/src/ |
D | pretend.rs | 81 let (_, ty_generics, _) = cont.generics.split_for_impl(); in pretend_fields_used_struct() 87 match _serde::__private::None::<&#type_ident #ty_generics> { in pretend_fields_used_struct() 96 let (_, ty_generics, _) = cont.generics.split_for_impl(); in pretend_fields_used_struct_packed() 103 match _serde::__private::None::<&#type_ident #ty_generics> { in pretend_fields_used_struct_packed() 119 match _serde::__private::None::<#type_ident #ty_generics> { in pretend_fields_used_struct_packed() 129 let (_, ty_generics, _) = cont.generics.split_for_impl(); in pretend_fields_used_enum() 145 match _serde::__private::None::<&#type_ident #ty_generics> { in pretend_fields_used_enum() 172 let (_, ty_generics, _) = cont.generics.split_for_impl(); in pretend_variants_used() 173 let turbofish = ty_generics.as_turbofish(); in pretend_variants_used()
|
D | de.rs | 33 let (de_impl_generics, _, ty_generics, where_clause) = split_with_de_lifetime(¶ms); in expand_derive_deserialize() 42 impl #de_impl_generics #ident #ty_generics #where_clause { in expand_derive_deserialize() 43 …eserialize<__D>(__deserializer: __D) -> #serde::__private::Result<#remote #ty_generics, __D::Error> in expand_derive_deserialize() 57 … impl #de_impl_generics #serde::Deserialize<#delife> for #ident #ty_generics #where_clause { in expand_derive_deserialize() 453 let (de_impl_generics, de_ty_generics, ty_generics, where_clause) = in deserialize_tuple() 494 marker: _serde::__private::PhantomData::<#this_type #ty_generics>, in deserialize_tuple() 519 marker: _serde::__private::PhantomData<#this_type #ty_generics>, in deserialize_tuple() 524 type Value = #this_type #ty_generics; in deserialize_tuple() 554 let (de_impl_generics, de_ty_generics, ty_generics, where_clause) = in deserialize_tuple_in_place() 609 place: &#place_life mut #this_type #ty_generics, in deserialize_tuple_in_place() [all …]
|
D | ser.rs | 28 let (impl_generics, ty_generics, where_clause) = params.generics.split_for_impl(); in expand_derive_serialize() 36 impl #impl_generics #ident #ty_generics #where_clause { in expand_derive_serialize() 37 …#vis fn serialize<__S>(__self: &#remote #ty_generics, __serializer: __S) -> #serde::__private::Res… in expand_derive_serialize() 49 impl #impl_generics #serde::Serialize for #ident #ty_generics #where_clause { in expand_derive_serialize() 712 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_adjacently_tagged_variant() 724 phantom: _serde::__private::PhantomData<#this_type #ty_generics>, in serialize_adjacently_tagged_variant() 746 phantom: _serde::__private::PhantomData::<#this_type #ty_generics>, in serialize_adjacently_tagged_variant() 980 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_struct_variant_with_flatten() 987 phantom: _serde::__private::PhantomData<#this_type #ty_generics>, in serialize_struct_variant_with_flatten() 1011 phantom: _serde::__private::PhantomData::<#this_type #ty_generics>, in serialize_struct_variant_with_flatten() [all …]
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | derive.rs | 25 let ty_generics = input.generics.split_for_impl().1; in parse_derive() localVariable 26 let self_ty = parse_quote!(#ident #ty_generics); in parse_derive() 199 let ty_generics = generics.split_for_impl().1; in new() localVariable 200 let ty_generics_as_generics = parse_quote!(#ty_generics); in new() 692 let ty_generics = cx.orig.generics.split_for_impl().1; in make_unpin_impl() localVariable 695 impl #impl_generics _pin_project::__private::Unpin for #orig_ident #ty_generics in make_unpin_impl() 713 let ty_generics = cx.orig.generics.split_for_impl().1; in make_unpin_impl() localVariable 720 for #orig_ident #ty_generics in make_unpin_impl() 733 for #orig_ident #ty_generics in make_unpin_impl() 784 let (_, ty_generics, where_clause) = cx.orig.generics.split_for_impl(); in make_unpin_impl() [all …]
|
/external/rust/crates/clap_derive/src/derives/ |
D | into_app.rs | 22 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in gen_for_struct() 41 impl #impl_generics clap::CommandFactory for #item_name #ty_generics #where_clause { in gen_for_struct() 58 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in gen_for_enum() 77 impl #impl_generics clap::CommandFactory for #item_name #ty_generics #where_clause { in gen_for_enum()
|
D | parser.rs | 97 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in gen_for_struct() 103 impl #impl_generics clap::Parser for #item_name #ty_generics #where_clause {} in gen_for_struct() 116 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in gen_for_enum() 122 impl #impl_generics clap::Parser for #item_name #ty_generics #where_clause {} in gen_for_enum()
|
D | subcommand.rs | 62 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in gen_for_enum() 85 impl #impl_generics clap::FromArgMatches for #item_name #ty_generics #where_clause { in gen_for_enum() 111 impl #impl_generics clap::Subcommand for #item_name #ty_generics #where_clause { in gen_for_enum()
|
D | args.rs | 83 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in gen_for_struct() 114 impl #impl_generics clap::FromArgMatches for #item_name #ty_generics #where_clause { in gen_for_struct() 149 impl #impl_generics clap::Args for #item_name #ty_generics #where_clause { in gen_for_struct()
|
/external/rust/cxx/macro/src/ |
D | generics.rs | 28 let ty_generics = TyGenerics { in split_for_impl() localVariable 33 (impl_generics, ty_generics) in split_for_impl() 49 imp.ty_generics.to_tokens(tokens); in to_tokens()
|
D | expand.rs | 1256 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_rust_box() 1265 #unsafe_token impl #impl_generics ::cxx::private::ImplBox for #ident #ty_generics {} in expand_rust_box() 1268 …n "C" fn #local_alloc #impl_generics() -> *mut ::cxx::core::mem::MaybeUninit<#ident #ty_generics> { in expand_rust_box() 1278 …C" fn #local_dealloc #impl_generics(ptr: *mut ::cxx::core::mem::MaybeUninit<#ident #ty_generics>) { in expand_rust_box() 1284 …xtern "C" fn #local_drop #impl_generics(this: *mut ::cxx::alloc::boxed::Box<#ident #ty_generics>) { in expand_rust_box() 1314 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_rust_vec() 1323 #unsafe_token impl #impl_generics ::cxx::private::ImplVec for #elem #ty_generics {} in expand_rust_vec() 1326 …e extern "C" fn #local_new #impl_generics(this: *mut ::cxx::private::RustVec<#elem #ty_generics>) { in expand_rust_vec() 1332 … extern "C" fn #local_drop #impl_generics(this: *mut ::cxx::private::RustVec<#elem #ty_generics>) { in expand_rust_vec() 1338 …" fn #local_len #impl_generics(this: *const ::cxx::private::RustVec<#elem #ty_generics>) -> usize { in expand_rust_vec() [all …]
|
/external/rust/crates/syn/tests/ |
D | test_generics.rs | 103 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in test_split_for_impl() 106 impl #impl_generics MyTrait for Test #ty_generics #where_clause {} in test_split_for_impl() 117 let turbofish = ty_generics.as_turbofish(); in test_split_for_impl()
|
/external/crosvm/serde_keyvalue/serde_keyvalue_derive/src/ |
D | lib.rs | 15 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in keyvalues_derive() 18 … impl #impl_generics ::serde_keyvalue::argh::FromArgValue for #ident #ty_generics #where_clause { in keyvalues_derive()
|
/external/rust/crates/thiserror-impl/src/ |
D | expand.rs | 23 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in impl_struct() 152 impl #impl_generics std::fmt::Display for #ty #ty_generics #display_where_clause { in impl_struct() 167 impl #impl_generics std::convert::From<#from> for #ty #ty_generics #where_clause { in impl_struct() 186 impl #impl_generics #error_trait for #ty #ty_generics #error_where_clause { in impl_struct() 197 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in impl_enum() 404 impl #impl_generics std::fmt::Display for #ty #ty_generics #display_where_clause { in impl_enum() 426 impl #impl_generics std::convert::From<#from> for #ty #ty_generics #where_clause { in impl_enum() 445 impl #impl_generics #error_trait for #ty #ty_generics #error_where_clause { in impl_enum()
|
/external/rust/crates/argh_derive/src/ |
D | lib.rs | 279 let (impl_generics, ty_generics, where_clause) = generic_args.split_for_impl(); in impl_from_args_struct() 282 impl #impl_generics argh::FromArgs for #name #ty_generics #where_clause { in impl_from_args_struct() 593 let (impl_generics, ty_generics, where_clause) = generic_args.split_for_impl(); in top_or_sub_cmd_impl() 598 impl #impl_generics argh::TopLevelCommand for #name #ty_generics #where_clause {} in top_or_sub_cmd_impl() 608 impl #impl_generics argh::SubCommand for #name #ty_generics #where_clause { in top_or_sub_cmd_impl() 998 let (impl_generics, ty_generics, where_clause) = generic_args.split_for_impl(); in impl_from_args_enum() 1000 impl #impl_generics argh::FromArgs for #name #ty_generics #where_clause { in impl_from_args_enum() 1042 impl #impl_generics argh::SubCommands for #name #ty_generics #where_clause { in impl_from_args_enum()
|
/external/rust/crates/serde_derive/src/internals/ |
D | receiver.rs | 14 let ty_generics = input.generics.split_for_impl().1; in replace_receiver() localVariable 15 parse_quote!(#ident #ty_generics) in replace_receiver()
|
/external/rust/crates/synstructure/src/ |
D | lib.rs | 1942 let (_, ty_generics, where_clause) = self.ast.generics.split_for_impl(); in impl_internal() 1964 #safety impl #impl_generics #bound for #name #ty_generics #where_clause { in impl_internal() 2278 let (_, ty_generics, _) = self.ast.generics.split_for_impl(); in gen_impl_parse() 2282 #safety impl #impl_generics #bound for #name #ty_generics #where_clause { in gen_impl_parse()
|
/external/rust/crates/derive_arbitrary/src/ |
D | lib.rs | 54 let (_, ty_generics, where_clause) = generics.split_for_impl(); in expand_derive_arbitrary() 64 …impl_generics arbitrary::Arbitrary<#lifetime_without_bounds> for #name #ty_generics #where_clause { in expand_derive_arbitrary()
|
/external/rust/cxx/syntax/ |
D | mod.rs | 169 pub ty_generics: Lifetimes, field
|
D | tokens.rs | 229 ty_generics: _, in to_tokens()
|
D | parse.rs | 1066 let ty_generics = match &ty { in parse_impl() localVariable 1095 ty_generics, in parse_impl()
|
/external/rust/crates/pest_generator/src/ |
D | generator.rs | 55 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in generate() 61 impl #impl_generics ::pest::Parser<Rule> for #name #ty_generics #where_clause { in generate()
|