Searched refs:DeriveInput (Results 1 – 2 of 2) sorted by relevance
| /wasmtime-44.0.1/crates/component-macro/src/ |
| H A D | lib.rs | 8 use syn::{DeriveInput, Error, parse_macro_input}; 17 &parse_macro_input!(input as DeriveInput), in lift() 27 &parse_macro_input!(input as DeriveInput), in lower() 37 &parse_macro_input!(input as DeriveInput), in component_type()
|
| H A D | component.rs | 7 use syn::{Data, DeriveInput, Error, Ident, Result, Token, braced, parse_quote}; 137 pub fn expand(expander: &dyn Expander, input: &DeriveInput) -> Result<TokenStream> { in expand() 173 input: &DeriveInput, in expand_record() argument 204 input: &DeriveInput, in expand_variant() argument 293 fn validate_enum(input: &DeriveInput, body: &syn::DataEnum, size: DiscriminantSize) -> Result<()> { in validate_enum() argument
|