• Home
  • Raw
  • Download

Lines Matching refs:generics

13 use crate::{derive, generics};
143 let generics = &strct.generics; in expand_struct() localVariable
160 #visibility #struct_token #ident #generics { in expand_struct()
172 unsafe impl #generics ::cxx::ExternType for #ident #generics { in expand_struct()
278 let generics = &strct.generics; in expand_struct_forbid_drop() localVariable
283 #impl_token #generics self::Drop for super::#ident #generics {} in expand_struct_forbid_drop()
347 let generics = &ety.generics; in expand_cxx_type() localVariable
350 let lifetime_fields = ety.generics.lifetimes.iter().map(|lifetime| { in expand_cxx_type()
363 #visibility #struct_token #ident #generics { in expand_cxx_type()
374 unsafe impl #generics ::cxx::ExternType for #ident #generics { in expand_cxx_type()
416 let generics = &efn.generics; in expand_cxx_function_decl() localVariable
451 fn #local_name #generics(#(#all_args,)* #outparam) #ret; in expand_cxx_function_decl()
660 let generics = &efn.generics; in expand_cxx_function_shim() localVariable
674 #visibility #unsafety #fn_token #ident #generics #arg_list #ret #fn_body in expand_cxx_function_shim()
681 let receiver_generics = if receiver.ty.generics.lt_token.is_some() { in expand_cxx_function_shim()
682 &receiver.ty.generics in expand_cxx_function_shim()
685 lt_token: resolve.generics.lt_token, in expand_cxx_function_shim()
687 .generics in expand_cxx_function_shim()
696 gt_token: resolve.generics.gt_token, in expand_cxx_function_shim()
701 impl #generics #receiver_ident #receiver_generics { in expand_cxx_function_shim()
757 let generics = &ety.generics; in expand_rust_type_impl() localVariable
763 #unsafe_impl #generics ::cxx::private::RustType for #ident #generics {} in expand_rust_type_impl()
771 unsafe impl #generics ::cxx::ExternType for #ident #generics { in expand_rust_type_impl()
878 let generics = &sig.generics; in expand_rust_function_shim_impl() localVariable
1024 unsafe extern "C" fn #local_name #generics(#(#all_args,)* #outparam #pointer) #ret { in expand_rust_function_shim_impl()
1040 let generics = &sig.generics; in expand_rust_function_shim_super() localVariable
1078 #unsafety fn #local_name #generics(#(#all_args,)*) #ret { in expand_rust_function_shim_super()
1090 let generics = &alias.generics; in expand_type_alias() localVariable
1098 #visibility #type_token #ident #generics #eq_token #ty #semi_token in expand_type_alias()
1146 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_rust_box()
1194 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_rust_vec()
1257 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_unique_ptr()
1353 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_shared_ptr()
1431 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_weak_ptr()
1508 let (impl_generics, ty_generics) = generics::split_for_impl(key, explicit_impl, resolve); in expand_cxx_vector()