Searched refs:DeriveInput (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/rust/qemu-api-macros/src/ |
H A D | lib.rs | 9 parse_macro_input, parse_quote, punctuated::Punctuated, token::Comma, Data, DeriveInput, Field, 22 fn is_c_repr(input: &DeriveInput, msg: &str) -> Result<(), CompileError> { in is_c_repr() argument 37 let input = parse_macro_input!(input as DeriveInput); in derive_object() 51 fn get_fields(input: &DeriveInput) -> Result<&Punctuated<Field, Comma>, CompileError> { in get_fields() 70 fn derive_offsets_or_error(input: DeriveInput) -> Result<proc_macro2::TokenStream, CompileError> { in derive_offsets_or_error() 90 let input = parse_macro_input!(input as DeriveInput); in derive_offsets()
|