| /linux/rust/syn/ |
| H A D | derive.rs | 14 pub struct DeriveInput { 72 use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; 82 impl Parse for DeriveInput { implementation 93 Ok(DeriveInput { in parse() 112 Ok(DeriveInput { in parse() 131 Ok(DeriveInput { in parse() 213 use crate::derive::{Data, DeriveInput}; 219 impl ToTokens for DeriveInput { implementation
|
| H A D | item.rs | 5 use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput}; 346 impl From<DeriveInput> for Item { 347 fn from(input: DeriveInput) -> Item { in from() 379 impl From<ItemStruct> for DeriveInput { implementation 380 fn from(input: ItemStruct) -> DeriveInput { in from() argument 381 DeriveInput { in from() 395 impl From<ItemEnum> for DeriveInput { implementation 396 fn from(input: ItemEnum) -> DeriveInput { in from() argument 397 DeriveInput { in from() 411 impl From<ItemUnion> for DeriveInput { implementation [all …]
|
| H A D | lib.rs | 362 pub use crate::derive::{Data, DataEnum, DataStruct, DataUnion, DeriveInput};
|
| /linux/rust/zerocopy-derive/ |
| H A D | lib.rs | 54 use syn::{DeriveInput, Error}; 85 let ast = syn::parse_macro_input!(ts as DeriveInput); 135 let ast = syn::parse_macro_input!(ts as DeriveInput); in most_traits()
|
| H A D | util.rs | 16 parse_quote, spanned::Spanned as _, Data, DataEnum, DataStruct, DataUnion, DeriveInput, Error, 24 pub(crate) ast: DeriveInput, 38 pub(crate) fn try_from_derive_input(ast: DeriveInput) -> Result<Self, Error> { in try_from_derive_input() 92 pub(crate) fn with_input(&self, input: &DeriveInput) -> Self { in with_input()
|
| /linux/rust/zerocopy-derive/derive/ |
| H A D | try_from_bytes.rs | 6 parse_quote, spanned::Spanned as _, Data, DataEnum, DataStruct, DataUnion, DeriveInput, Error, 345 let raw_enum: DeriveInput = parse_quote! { in derive_is_bit_valid()
|
| /linux/rust/syn/gen/ |
| H A D | fold.rs | 138 fn fold_derive_input(&mut self, i: crate::DeriveInput) -> crate::DeriveInput { in fold_derive_input() argument 1309 pub fn fold_derive_input<F>(f: &mut F, node: crate::DeriveInput) -> crate::DeriveInput in fold_derive_input() 1313 crate::DeriveInput { in fold_derive_input()
|
| H A D | clone.rs | 228 impl Clone for crate::DeriveInput { implementation 230 crate::DeriveInput { in clone()
|
| H A D | eq.rs | 253 impl Eq for crate::DeriveInput {} implementation 256 impl PartialEq for crate::DeriveInput { implementation
|
| H A D | visit_mut.rs | 139 fn visit_derive_input_mut(&mut self, i: &mut crate::DeriveInput) { in visit_derive_input_mut() argument 1294 pub fn visit_derive_input_mut<V>(v: &mut V, node: &mut crate::DeriveInput) in visit_derive_input_mut()
|
| H A D | visit.rs | 131 fn visit_derive_input(&mut self, i: &'ast crate::DeriveInput) { in visit_derive_input() argument 1294 pub fn visit_derive_input<'ast, V>(v: &mut V, node: &'ast crate::DeriveInput) in visit_derive_input()
|
| H A D | hash.rs | 336 impl Hash for crate::DeriveInput { implementation
|
| H A D | debug.rs | 405 impl Debug for crate::DeriveInput { implementation
|