/external/rust/crates/derive-getters/src/ |
D | extract.rs | 4 use syn::{FieldsNamed, DataStruct, DeriveInput, Data, Fields, Error, Result}; 8 pub fn named_fields<'a>(structure: &'a DataStruct) -> Result<&'a FieldsNamed> { in named_fields() 17 pub fn named_struct<'a>(node: &'a DeriveInput) -> Result<&'a DataStruct> { in named_struct() argument
|
/external/rust/crates/clap_derive/src/derives/ |
D | parser.rs | 21 self, punctuated::Punctuated, token::Comma, Data, DataStruct, DeriveInput, Field, Fields, 35 Data::Struct(DataStruct { in derive_parser() 53 Data::Struct(DataStruct { in derive_parser()
|
D | args.rs | 20 punctuated::Punctuated, spanned::Spanned, token::Comma, Data, DataStruct, DeriveInput, Field, 34 Data::Struct(DataStruct { in derive_args() 50 Data::Struct(DataStruct { in derive_args()
|
/external/rust/crates/zerocopy-derive/src/ |
D | ext.rs | 5 use syn::{Data, DataEnum, DataStruct, DataUnion, Field, Fields, Type}; 21 impl DataExt for DataStruct { implementation
|
D | lib.rs | 15 parse_quote, punctuated::Punctuated, token::Comma, Data, DataEnum, DataStruct, DataUnion, 93 fn derive_from_bytes_struct(ast: &DeriveInput, strct: &DataStruct) -> proc_macro2::TokenStream { in derive_from_bytes_struct() 177 fn derive_as_bytes_struct(ast: &DeriveInput, strct: &DataStruct) -> proc_macro2::TokenStream { in derive_as_bytes_struct() 262 fn derive_unaligned_struct(ast: &DeriveInput, strct: &DataStruct) -> proc_macro2::TokenStream { in derive_unaligned_struct()
|
/external/crosvm/base/tests/ |
D | tube.rs | 26 struct DataStruct { struct 82 let data = DataStruct { x: data }; in produce_messages() 104 let msg = tube.recv::<DataStruct>().unwrap(); in consume_messages()
|
/external/rust/crates/syn/src/ |
D | derive.rs | 40 Struct(DataStruct), 58 pub struct DataStruct { 115 data: Data::Struct(DataStruct { in parse()
|
D | lib.rs | 392 pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput};
|
D | item.rs | 2 use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; 427 data: Data::Struct(DataStruct { in from()
|
/external/rust/crates/thiserror-impl/src/ |
D | ast.rs | 5 Data, DataEnum, DataStruct, DeriveInput, Error, Fields, Generics, Ident, Index, Member, Result, 59 fn from_syn(node: &'a DeriveInput, data: &'a DataStruct) -> Result<Self> { in from_syn()
|
/external/clang/test/SemaCXX/ |
D | typo-correction.cpp | 325 struct DataStruct {void foo();}; struct 327 DataStruct data_struct;
|
/external/rust/crates/merge_derive/src/ |
D | lib.rs | 53 if let syn::Data::Struct(syn::DataStruct { ref fields, .. }) = ast.data { in impl_merge()
|
/external/rust/crates/serde_derive/src/internals/ |
D | attr.rs | 378 syn::Data::Struct(syn::DataStruct { fields, .. }) => match fields { in from_ast() 401 syn::Data::Struct(syn::DataStruct { fields, .. }) => { in from_ast() 449 syn::Data::Struct(syn::DataStruct { struct_token, .. }) => { in from_ast() 470 syn::Data::Struct(syn::DataStruct { fields, .. }) => match fields { in from_ast() 498 syn::Data::Struct(syn::DataStruct { struct_token, .. }) => { in from_ast() 813 (syn::Data::Struct(syn::DataStruct { struct_token, .. }), Some(_), None) => { in decide_identifier() 827 (syn::Data::Struct(syn::DataStruct { struct_token, .. }), None, Some(_)) => { in decide_identifier()
|
/external/rust/crates/syn/src/gen/ |
D | fold.rs | 92 fn fold_data_struct(&mut self, i: DataStruct) -> DataStruct { in fold_data_struct() argument 1040 pub fn fold_data_struct<F>(f: &mut F, node: DataStruct) -> DataStruct in fold_data_struct() 1044 DataStruct { in fold_data_struct()
|
D | clone.rs | 169 impl Clone for DataStruct { implementation 171 DataStruct { in clone()
|
D | eq.rs | 191 impl Eq for DataStruct {} implementation 194 impl PartialEq for DataStruct { implementation
|
D | visit_mut.rs | 95 fn visit_data_struct_mut(&mut self, i: &mut DataStruct) { in visit_data_struct_mut() argument 1060 pub fn visit_data_struct_mut<V>(v: &mut V, node: &mut DataStruct) in visit_data_struct_mut()
|
D | visit.rs | 94 fn visit_data_struct(&mut self, i: &'ast DataStruct) { in visit_data_struct() argument 1059 pub fn visit_data_struct<'ast, V>(v: &mut V, node: &'ast DataStruct) in visit_data_struct()
|
D | hash.rs | 270 impl Hash for DataStruct { implementation
|
D | debug.rs | 323 impl Debug for DataStruct { implementation
|
/external/rust/crates/argh_derive/src/ |
D | lib.rs | 241 ds: &syn::DataStruct, in impl_from_args_struct() argument
|
/external/rust/crates/syn/tests/debug/ |
D | gen.rs | 385 impl Debug for Lite<syn::DataStruct> {
|