Home
last modified time | relevance | path

Searched refs:field_ty (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/pin-project-lite/src/
Dlib.rs430 $field_vis:vis $field:ident: $field_ty:ty
440 $field_vis $field: $field_ty
453 $field_vis $field: $field_ty
466 $field_vis $field: $field_ty
479 $field_vis $field: $field_ty
501 $field_vis $field: $field_ty
514 $field_vis $field: $field_ty
527 $field_vis $field: $field_ty
578 $(#[$pin])? $field_ty
628 $field:ident: $field_ty:ty
[all …]
Dlib.rs.orig427 $field_vis:vis $field:ident: $field_ty:ty
437 $field_vis $field: $field_ty
450 $field_vis $field: $field_ty
463 $field_vis $field: $field_ty
476 $field_vis $field: $field_ty
498 $field_vis $field: $field_ty
511 $field_vis $field: $field_ty
524 $field_vis $field: $field_ty
575 $(#[$pin])? $field_ty
625 $field:ident: $field_ty:ty
[all …]
/external/rust/crates/bindgen/src/codegen/
Dstruct_layout.rs159 field_ty: &Type, in saw_field()
162 let mut field_layout = field_ty.layout(self.ctx)?; in saw_field()
165 *field_ty.canonical_type(self.ctx).kind() in saw_field()
Dmod.rs1240 let field_ty = field_item.expect_type(); in codegen() localVariable
1256 } else if let Some(item) = field_ty.is_incomplete_array(ctx) { in codegen()
1290 struct_layout.saw_field(&field_name, field_ty, self.offset()) in codegen()
1456 let field_ty = { in codegen() localVariable
1547 #access_spec #unit_field_ident : #field_ty , in codegen()
/external/rust/crates/serde_derive/src/
Dde.rs655 let field_ty = field.ty; in deserialize_seq() localVariable
658 quote_spanned!(span=> _serde::de::SeqAccess::next_element::<#field_ty>); in deserialize_seq()
828 let field_ty = field.ty; in deserialize_newtype_struct() localVariable
833 let func = quote_spanned!(span=> <#field_ty as _serde::Deserialize>::deserialize); in deserialize_newtype_struct()
859 let __field0: #field_ty = #value; in deserialize_newtype_struct()
1854 let field_ty = field.ty; in deserialize_externally_tagged_newtype_variant() localVariable
1857 quote_spanned!(span=> _serde::de::VariantAccess::newtype_variant::<#field_ty>); in deserialize_externally_tagged_newtype_variant()
1881 let field_ty = field.ty; in deserialize_untagged_newtype_variant() localVariable
1885 let func = quote_spanned!(span=> <#field_ty as _serde::Deserialize>::deserialize); in deserialize_untagged_newtype_variant()
1892 let __value: _serde::__private::Result<#field_ty, _> = #path(#deserializer); in deserialize_untagged_newtype_variant()
[all …]
Dser.rs1155 field_ty: &syn::Type, in wrap_serialize_field_with()
1159 wrap_serialize_with(params, serialize_with, &[field_ty], &[quote!(#field_expr)]) in wrap_serialize_field_with()
/external/rust/crates/quote/tests/
Dtest.rs87 let field_ty = quote!(String); in test_advanced() localVariable
97 value: &'a #field_ty, in test_advanced()
/external/rust/crates/bindgen/src/ir/
Dcomp.rs1605 let field_ty = ctx.resolve_type(data.ty()); in is_packed() localVariable
1606 field_ty.layout(ctx).map_or(false, |field_ty_layout| { in is_packed()
/external/rust/crates/quote/
DREADME.md60 value: &'a #field_ty,