Searched defs:MacroError (Results 1 – 2 of 2) sorted by relevance
/qemu/rust/qemu-api-macros/src/ |
H A D | lib.rs | 18 get_fields<'a>( input: &'a DeriveInput, msg: &str, ) -> Result<&'a Punctuated<Field, Comma>, MacroError> get_fields() argument 34 get_unnamed_field<'a>(input: &'a DeriveInput, msg: &str) -> Result<&'a Field, MacroError> get_unnamed_field() argument 56 is_c_repr(input: &DeriveInput, msg: &str) -> Result<(), MacroError> is_c_repr() argument 69 is_transparent_repr(input: &DeriveInput, msg: &str) -> Result<(), MacroError> is_transparent_repr() argument 82 derive_object_or_error(input: DeriveInput) -> Result<proc_macro2::TokenStream, MacroError> derive_object_or_error() argument 108 derive_opaque_or_error(input: DeriveInput) -> Result<proc_macro2::TokenStream, MacroError> derive_opaque_or_error() argument 155 get_repr_uN(input: &DeriveInput, msg: &str) -> Result<Path, MacroError> get_repr_uN() argument 176 get_variants(input: &DeriveInput) -> Result<&Punctuated<Variant, Comma>, MacroError> get_variants() argument 193 derive_tryinto_or_error(input: DeriveInput) -> Result<proc_macro2::TokenStream, MacroError> derive_tryinto_or_error() argument [all...] |
H A D | utils.rs | 8 pub enum MacroError { enum 13 impl From<syn::Error> for MacroError { implementation
|